From 99ac8937fa4721254a4a5fdb404b3086bca223a7 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 30 Jul 2024 09:17:20 +0000 Subject: [PATCH] Add RunSynchronizationJob API. --- aliyun-java-sdk-eiam/ChangeLog.txt | 5 + aliyun-java-sdk-eiam/pom.xml | 2 +- ...tApplicationProvisioningScopeResponse.java | 30 + .../GetSynchronizationJobRequest.java | 64 + .../GetSynchronizationJobResponse.java | 1496 ++++++++++++++++ .../eiam/model/v20211201/GetUserResponse.java | 10 + .../v20211201/ListApplicationsResponse.java | 10 + .../v20211201/ListGroupsForUserResponse.java | 20 + .../ListSynchronizationJobsRequest.java | 184 ++ .../ListSynchronizationJobsResponse.java | 1517 +++++++++++++++++ .../v20211201/ListUsersForGroupResponse.java | 20 + .../RunSynchronizationJobRequest.java | 77 + .../RunSynchronizationJobResponse.java | 56 + ...etApplicationProvisioningScopeRequest.java | 17 +- ...ProvisioningScopeResponseUnmarshaller.java | 8 + ...ynchronizationJobResponseUnmarshaller.java | 255 +++ .../GetUserResponseUnmarshaller.java | 1 + .../ListApplicationsResponseUnmarshaller.java | 1 + ...ListGroupsForUserResponseUnmarshaller.java | 2 + ...nchronizationJobsResponseUnmarshaller.java | 265 +++ ...ListUsersForGroupResponseUnmarshaller.java | 2 + ...ynchronizationJobResponseUnmarshaller.java | 30 + 22 files changed, 4070 insertions(+), 2 deletions(-) create mode 100644 aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/GetSynchronizationJobRequest.java create mode 100644 aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/GetSynchronizationJobResponse.java create mode 100644 aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListSynchronizationJobsRequest.java create mode 100644 aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListSynchronizationJobsResponse.java create mode 100644 aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/RunSynchronizationJobRequest.java create mode 100644 aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/RunSynchronizationJobResponse.java create mode 100644 aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/GetSynchronizationJobResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/ListSynchronizationJobsResponseUnmarshaller.java create mode 100644 aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/RunSynchronizationJobResponseUnmarshaller.java diff --git a/aliyun-java-sdk-eiam/ChangeLog.txt b/aliyun-java-sdk-eiam/ChangeLog.txt index 69c8b44e0c..ec0f69130c 100644 --- a/aliyun-java-sdk-eiam/ChangeLog.txt +++ b/aliyun-java-sdk-eiam/ChangeLog.txt @@ -1,3 +1,8 @@ +2024-07-30 Version: 1.0.6 +- Add RunSynchronizationJob API. +- Add GetSynchronizationJob API. +- Update ListSynchronizationJobs API. + 2023-12-21 Version: 1.0.5 - Support vpn api. diff --git a/aliyun-java-sdk-eiam/pom.xml b/aliyun-java-sdk-eiam/pom.xml index 07a63bdb08..5173c2e590 100644 --- a/aliyun-java-sdk-eiam/pom.xml +++ b/aliyun-java-sdk-eiam/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-eiam jar - 1.0.5 + 1.0.6 aliyun-java-sdk-eiam http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/GetApplicationProvisioningScopeResponse.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/GetApplicationProvisioningScopeResponse.java index fa7b7580d5..6604b38f6a 100644 --- a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/GetApplicationProvisioningScopeResponse.java +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/GetApplicationProvisioningScopeResponse.java @@ -47,8 +47,30 @@ public void setApplicationProvisioningScope(ApplicationProvisioningScope applica public static class ApplicationProvisioningScope { + private Integer usedQuota; + + private Integer maxQuota; + private List organizationalUnitIds; + private List groupIds; + + public Integer getUsedQuota() { + return this.usedQuota; + } + + public void setUsedQuota(Integer usedQuota) { + this.usedQuota = usedQuota; + } + + public Integer getMaxQuota() { + return this.maxQuota; + } + + public void setMaxQuota(Integer maxQuota) { + this.maxQuota = maxQuota; + } + public List getOrganizationalUnitIds() { return this.organizationalUnitIds; } @@ -56,6 +78,14 @@ public List getOrganizationalUnitIds() { public void setOrganizationalUnitIds(List organizationalUnitIds) { this.organizationalUnitIds = organizationalUnitIds; } + + public List getGroupIds() { + return this.groupIds; + } + + public void setGroupIds(List groupIds) { + this.groupIds = groupIds; + } } @Override diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/GetSynchronizationJobRequest.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/GetSynchronizationJobRequest.java new file mode 100644 index 0000000000..00f0959f85 --- /dev/null +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/GetSynchronizationJobRequest.java @@ -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 GetSynchronizationJobRequest extends RpcAcsRequest { + + + private String synchronizationJobId; + + private String instanceId; + public GetSynchronizationJobRequest() { + super("Eiam", "2021-12-01", "GetSynchronizationJob", "eiam"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getSynchronizationJobId() { + return this.synchronizationJobId; + } + + public void setSynchronizationJobId(String synchronizationJobId) { + this.synchronizationJobId = synchronizationJobId; + if(synchronizationJobId != null){ + putQueryParameter("SynchronizationJobId", synchronizationJobId); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + @Override + public Class getResponseClass() { + return GetSynchronizationJobResponse.class; + } + +} diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/GetSynchronizationJobResponse.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/GetSynchronizationJobResponse.java new file mode 100644 index 0000000000..a589228a47 --- /dev/null +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/GetSynchronizationJobResponse.java @@ -0,0 +1,1496 @@ +/* + * 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.GetSynchronizationJobResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class GetSynchronizationJobResponse extends AcsResponse { + + private String requestId; + + private SynchronizationJob synchronizationJob; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public SynchronizationJob getSynchronizationJob() { + return this.synchronizationJob; + } + + public void setSynchronizationJob(SynchronizationJob synchronizationJob) { + this.synchronizationJob = synchronizationJob; + } + + public static class SynchronizationJob { + + private String synchronizationJobId; + + private String targetType; + + private String targetId; + + private String direction; + + private Long startTime; + + private Long endTime; + + private String triggerType; + + private String status; + + private Result result; + + public String getSynchronizationJobId() { + return this.synchronizationJobId; + } + + public void setSynchronizationJobId(String synchronizationJobId) { + this.synchronizationJobId = synchronizationJobId; + } + + public String getTargetType() { + return this.targetType; + } + + public void setTargetType(String targetType) { + this.targetType = targetType; + } + + public String getTargetId() { + return this.targetId; + } + + public void setTargetId(String targetId) { + this.targetId = targetId; + } + + public String getDirection() { + return this.direction; + } + + public void setDirection(String direction) { + this.direction = direction; + } + + public Long getStartTime() { + return this.startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + } + + public Long getEndTime() { + return this.endTime; + } + + public void setEndTime(Long endTime) { + this.endTime = endTime; + } + + public String getTriggerType() { + return this.triggerType; + } + + public void setTriggerType(String triggerType) { + this.triggerType = triggerType; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public Result getResult() { + return this.result; + } + + public void setResult(Result result) { + this.result = result; + } + + public static class Result { + + private String errorMessage; + + private String errorCode; + + private UserStatistics userStatistics; + + private OrganizationalUnitStatistics organizationalUnitStatistics; + + private GroupStatistics groupStatistics; + + private GroupMemberStatistics groupMemberStatistics; + + public String getErrorMessage() { + return this.errorMessage; + } + + public void setErrorMessage(String errorMessage) { + this.errorMessage = errorMessage; + } + + public String getErrorCode() { + return this.errorCode; + } + + public void setErrorCode(String errorCode) { + this.errorCode = errorCode; + } + + public UserStatistics getUserStatistics() { + return this.userStatistics; + } + + public void setUserStatistics(UserStatistics userStatistics) { + this.userStatistics = userStatistics; + } + + public OrganizationalUnitStatistics getOrganizationalUnitStatistics() { + return this.organizationalUnitStatistics; + } + + public void setOrganizationalUnitStatistics(OrganizationalUnitStatistics organizationalUnitStatistics) { + this.organizationalUnitStatistics = organizationalUnitStatistics; + } + + public GroupStatistics getGroupStatistics() { + return this.groupStatistics; + } + + public void setGroupStatistics(GroupStatistics groupStatistics) { + this.groupStatistics = groupStatistics; + } + + public GroupMemberStatistics getGroupMemberStatistics() { + return this.groupMemberStatistics; + } + + public void setGroupMemberStatistics(GroupMemberStatistics groupMemberStatistics) { + this.groupMemberStatistics = groupMemberStatistics; + } + + public static class UserStatistics { + + private Created created; + + private Updated updated; + + private Binded binded; + + private Deleted deleted; + + private Same same; + + private Pushed pushed; + + public Created getCreated() { + return this.created; + } + + public void setCreated(Created created) { + this.created = created; + } + + public Updated getUpdated() { + return this.updated; + } + + public void setUpdated(Updated updated) { + this.updated = updated; + } + + public Binded getBinded() { + return this.binded; + } + + public void setBinded(Binded binded) { + this.binded = binded; + } + + public Deleted getDeleted() { + return this.deleted; + } + + public void setDeleted(Deleted deleted) { + this.deleted = deleted; + } + + public Same getSame() { + return this.same; + } + + public void setSame(Same same) { + this.same = same; + } + + public Pushed getPushed() { + return this.pushed; + } + + public void setPushed(Pushed pushed) { + this.pushed = pushed; + } + + public static class Created { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Updated { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Binded { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Deleted { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Same { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Pushed { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + } + + public static class OrganizationalUnitStatistics { + + private Created1 created1; + + private Updated2 updated2; + + private Binded3 binded3; + + private Deleted4 deleted4; + + private Same5 same5; + + private Pushed6 pushed6; + + public Created1 getCreated1() { + return this.created1; + } + + public void setCreated1(Created1 created1) { + this.created1 = created1; + } + + public Updated2 getUpdated2() { + return this.updated2; + } + + public void setUpdated2(Updated2 updated2) { + this.updated2 = updated2; + } + + public Binded3 getBinded3() { + return this.binded3; + } + + public void setBinded3(Binded3 binded3) { + this.binded3 = binded3; + } + + public Deleted4 getDeleted4() { + return this.deleted4; + } + + public void setDeleted4(Deleted4 deleted4) { + this.deleted4 = deleted4; + } + + public Same5 getSame5() { + return this.same5; + } + + public void setSame5(Same5 same5) { + this.same5 = same5; + } + + public Pushed6 getPushed6() { + return this.pushed6; + } + + public void setPushed6(Pushed6 pushed6) { + this.pushed6 = pushed6; + } + + public static class Created1 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Updated2 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Binded3 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Deleted4 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Same5 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Pushed6 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + } + + public static class GroupStatistics { + + private Created7 created7; + + private Updated8 updated8; + + private Binded9 binded9; + + private Deleted10 deleted10; + + private Same11 same11; + + private Pushed12 pushed12; + + public Created7 getCreated7() { + return this.created7; + } + + public void setCreated7(Created7 created7) { + this.created7 = created7; + } + + public Updated8 getUpdated8() { + return this.updated8; + } + + public void setUpdated8(Updated8 updated8) { + this.updated8 = updated8; + } + + public Binded9 getBinded9() { + return this.binded9; + } + + public void setBinded9(Binded9 binded9) { + this.binded9 = binded9; + } + + public Deleted10 getDeleted10() { + return this.deleted10; + } + + public void setDeleted10(Deleted10 deleted10) { + this.deleted10 = deleted10; + } + + public Same11 getSame11() { + return this.same11; + } + + public void setSame11(Same11 same11) { + this.same11 = same11; + } + + public Pushed12 getPushed12() { + return this.pushed12; + } + + public void setPushed12(Pushed12 pushed12) { + this.pushed12 = pushed12; + } + + public static class Created7 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Updated8 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Binded9 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Deleted10 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Same11 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Pushed12 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + } + + public static class GroupMemberStatistics { + + private Created13 created13; + + private Updated14 updated14; + + private Binded15 binded15; + + private Deleted16 deleted16; + + private Same17 same17; + + private Pushed18 pushed18; + + public Created13 getCreated13() { + return this.created13; + } + + public void setCreated13(Created13 created13) { + this.created13 = created13; + } + + public Updated14 getUpdated14() { + return this.updated14; + } + + public void setUpdated14(Updated14 updated14) { + this.updated14 = updated14; + } + + public Binded15 getBinded15() { + return this.binded15; + } + + public void setBinded15(Binded15 binded15) { + this.binded15 = binded15; + } + + public Deleted16 getDeleted16() { + return this.deleted16; + } + + public void setDeleted16(Deleted16 deleted16) { + this.deleted16 = deleted16; + } + + public Same17 getSame17() { + return this.same17; + } + + public void setSame17(Same17 same17) { + this.same17 = same17; + } + + public Pushed18 getPushed18() { + return this.pushed18; + } + + public void setPushed18(Pushed18 pushed18) { + this.pushed18 = pushed18; + } + + public static class Created13 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Updated14 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Binded15 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Deleted16 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Same17 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Pushed18 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + } + } + } + + @Override + public GetSynchronizationJobResponse getInstance(UnmarshallerContext context) { + return GetSynchronizationJobResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/GetUserResponse.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/GetUserResponse.java index 6593c5f486..19c1963a94 100644 --- a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/GetUserResponse.java +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/GetUserResponse.java @@ -92,6 +92,8 @@ public static class User { private String instanceId; + private String preferredLanguage; + private List organizationalUnits; private List customFields; @@ -274,6 +276,14 @@ public void setInstanceId(String instanceId) { this.instanceId = instanceId; } + public String getPreferredLanguage() { + return this.preferredLanguage; + } + + public void setPreferredLanguage(String preferredLanguage) { + this.preferredLanguage = preferredLanguage; + } + public List getOrganizationalUnits() { return this.organizationalUnits; } diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListApplicationsResponse.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListApplicationsResponse.java index 79bb55aeea..84757f955e 100644 --- a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListApplicationsResponse.java +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListApplicationsResponse.java @@ -85,6 +85,8 @@ public static class Application { private String managedServiceCode; + private String applicationTemplateId; + public String getInstanceId() { return this.instanceId; } @@ -196,6 +198,14 @@ public String getManagedServiceCode() { public void setManagedServiceCode(String managedServiceCode) { this.managedServiceCode = managedServiceCode; } + + public String getApplicationTemplateId() { + return this.applicationTemplateId; + } + + public void setApplicationTemplateId(String applicationTemplateId) { + this.applicationTemplateId = applicationTemplateId; + } } @Override diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListGroupsForUserResponse.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListGroupsForUserResponse.java index 4f4e713f87..c6f0325203 100644 --- a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListGroupsForUserResponse.java +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListGroupsForUserResponse.java @@ -59,6 +59,10 @@ public static class Group { private String groupId; + private String groupMemberRelationSourceId; + + private String groupMemberRelationSourceType; + public String getGroupId() { return this.groupId; } @@ -66,6 +70,22 @@ public String getGroupId() { public void setGroupId(String groupId) { this.groupId = groupId; } + + public String getGroupMemberRelationSourceId() { + return this.groupMemberRelationSourceId; + } + + public void setGroupMemberRelationSourceId(String groupMemberRelationSourceId) { + this.groupMemberRelationSourceId = groupMemberRelationSourceId; + } + + public String getGroupMemberRelationSourceType() { + return this.groupMemberRelationSourceType; + } + + public void setGroupMemberRelationSourceType(String groupMemberRelationSourceType) { + this.groupMemberRelationSourceType = groupMemberRelationSourceType; + } } @Override diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListSynchronizationJobsRequest.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListSynchronizationJobsRequest.java new file mode 100644 index 0000000000..7b01b99426 --- /dev/null +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListSynchronizationJobsRequest.java @@ -0,0 +1,184 @@ +/* + * 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 java.util.List; +import com.aliyuncs.http.ProtocolType; +import com.aliyuncs.http.MethodType; + +/** + * @author auto create + * @version + */ +public class ListSynchronizationJobsRequest extends RpcAcsRequest { + + + private String targetType; + + private Long startTime; + + private Long pageNumber; + + private String nextToken; + + private Long pageSize; + + private String direction; + + private List targetIds; + + private Long endTime; + + private String instanceId; + + private Long maxResults; + + private String status; + public ListSynchronizationJobsRequest() { + super("Eiam", "2021-12-01", "ListSynchronizationJobs", "eiam"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getTargetType() { + return this.targetType; + } + + public void setTargetType(String targetType) { + this.targetType = targetType; + if(targetType != null){ + putQueryParameter("TargetType", targetType); + } + } + + public Long getStartTime() { + return this.startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + if(startTime != null){ + putQueryParameter("StartTime", startTime.toString()); + } + } + + public Long getPageNumber() { + return this.pageNumber; + } + + public void setPageNumber(Long pageNumber) { + this.pageNumber = pageNumber; + if(pageNumber != null){ + putQueryParameter("PageNumber", pageNumber.toString()); + } + } + + public String getNextToken() { + return this.nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + if(nextToken != null){ + putQueryParameter("NextToken", nextToken); + } + } + + public Long getPageSize() { + return this.pageSize; + } + + public void setPageSize(Long pageSize) { + this.pageSize = pageSize; + if(pageSize != null){ + putQueryParameter("PageSize", pageSize.toString()); + } + } + + public String getDirection() { + return this.direction; + } + + public void setDirection(String direction) { + this.direction = direction; + if(direction != null){ + putQueryParameter("Direction", direction); + } + } + + public List getTargetIds() { + return this.targetIds; + } + + public void setTargetIds(List targetIds) { + this.targetIds = targetIds; + if (targetIds != null) { + for (int depth1 = 0; depth1 < targetIds.size(); depth1++) { + putQueryParameter("TargetIds." + (depth1 + 1) , targetIds.get(depth1)); + } + } + } + + public Long getEndTime() { + return this.endTime; + } + + public void setEndTime(Long endTime) { + this.endTime = endTime; + if(endTime != null){ + putQueryParameter("EndTime", endTime.toString()); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + public Long getMaxResults() { + return this.maxResults; + } + + public void setMaxResults(Long maxResults) { + this.maxResults = maxResults; + if(maxResults != null){ + putQueryParameter("MaxResults", maxResults.toString()); + } + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + if(status != null){ + putQueryParameter("Status", status); + } + } + + @Override + public Class getResponseClass() { + return ListSynchronizationJobsResponse.class; + } + +} diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListSynchronizationJobsResponse.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListSynchronizationJobsResponse.java new file mode 100644 index 0000000000..834e26bd6d --- /dev/null +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListSynchronizationJobsResponse.java @@ -0,0 +1,1517 @@ +/* + * 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 java.util.List; +import com.aliyuncs.AcsResponse; +import com.aliyuncs.eiam.transform.v20211201.ListSynchronizationJobsResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class ListSynchronizationJobsResponse extends AcsResponse { + + private String requestId; + + private Long totalCount; + + private String nextToken; + + private List synchronizationJobs; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public Long getTotalCount() { + return this.totalCount; + } + + public void setTotalCount(Long totalCount) { + this.totalCount = totalCount; + } + + public String getNextToken() { + return this.nextToken; + } + + public void setNextToken(String nextToken) { + this.nextToken = nextToken; + } + + public List getSynchronizationJobs() { + return this.synchronizationJobs; + } + + public void setSynchronizationJobs(List synchronizationJobs) { + this.synchronizationJobs = synchronizationJobs; + } + + public static class SynchronizationJob { + + private String synchronizationJobId; + + private String targetType; + + private String targetId; + + private String direction; + + private Long startTime; + + private Long endTime; + + private String triggerType; + + private String status; + + private Result result; + + public String getSynchronizationJobId() { + return this.synchronizationJobId; + } + + public void setSynchronizationJobId(String synchronizationJobId) { + this.synchronizationJobId = synchronizationJobId; + } + + public String getTargetType() { + return this.targetType; + } + + public void setTargetType(String targetType) { + this.targetType = targetType; + } + + public String getTargetId() { + return this.targetId; + } + + public void setTargetId(String targetId) { + this.targetId = targetId; + } + + public String getDirection() { + return this.direction; + } + + public void setDirection(String direction) { + this.direction = direction; + } + + public Long getStartTime() { + return this.startTime; + } + + public void setStartTime(Long startTime) { + this.startTime = startTime; + } + + public Long getEndTime() { + return this.endTime; + } + + public void setEndTime(Long endTime) { + this.endTime = endTime; + } + + public String getTriggerType() { + return this.triggerType; + } + + public void setTriggerType(String triggerType) { + this.triggerType = triggerType; + } + + public String getStatus() { + return this.status; + } + + public void setStatus(String status) { + this.status = status; + } + + public Result getResult() { + return this.result; + } + + public void setResult(Result result) { + this.result = result; + } + + public static class Result { + + private String errorMessage; + + private String errorCode; + + private UserStatistics userStatistics; + + private OrganizationalUnitStatistics organizationalUnitStatistics; + + private GroupStatistics groupStatistics; + + private GroupMemberStatistics groupMemberStatistics; + + public String getErrorMessage() { + return this.errorMessage; + } + + public void setErrorMessage(String errorMessage) { + this.errorMessage = errorMessage; + } + + public String getErrorCode() { + return this.errorCode; + } + + public void setErrorCode(String errorCode) { + this.errorCode = errorCode; + } + + public UserStatistics getUserStatistics() { + return this.userStatistics; + } + + public void setUserStatistics(UserStatistics userStatistics) { + this.userStatistics = userStatistics; + } + + public OrganizationalUnitStatistics getOrganizationalUnitStatistics() { + return this.organizationalUnitStatistics; + } + + public void setOrganizationalUnitStatistics(OrganizationalUnitStatistics organizationalUnitStatistics) { + this.organizationalUnitStatistics = organizationalUnitStatistics; + } + + public GroupStatistics getGroupStatistics() { + return this.groupStatistics; + } + + public void setGroupStatistics(GroupStatistics groupStatistics) { + this.groupStatistics = groupStatistics; + } + + public GroupMemberStatistics getGroupMemberStatistics() { + return this.groupMemberStatistics; + } + + public void setGroupMemberStatistics(GroupMemberStatistics groupMemberStatistics) { + this.groupMemberStatistics = groupMemberStatistics; + } + + public static class UserStatistics { + + private Created created; + + private Updated updated; + + private Binded binded; + + private Deleted deleted; + + private Same same; + + private Pushed pushed; + + public Created getCreated() { + return this.created; + } + + public void setCreated(Created created) { + this.created = created; + } + + public Updated getUpdated() { + return this.updated; + } + + public void setUpdated(Updated updated) { + this.updated = updated; + } + + public Binded getBinded() { + return this.binded; + } + + public void setBinded(Binded binded) { + this.binded = binded; + } + + public Deleted getDeleted() { + return this.deleted; + } + + public void setDeleted(Deleted deleted) { + this.deleted = deleted; + } + + public Same getSame() { + return this.same; + } + + public void setSame(Same same) { + this.same = same; + } + + public Pushed getPushed() { + return this.pushed; + } + + public void setPushed(Pushed pushed) { + this.pushed = pushed; + } + + public static class Created { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Updated { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Binded { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Deleted { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Same { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Pushed { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + } + + public static class OrganizationalUnitStatistics { + + private Created1 created1; + + private Updated2 updated2; + + private Binded3 binded3; + + private Deleted4 deleted4; + + private Same5 same5; + + private Pushed6 pushed6; + + public Created1 getCreated1() { + return this.created1; + } + + public void setCreated1(Created1 created1) { + this.created1 = created1; + } + + public Updated2 getUpdated2() { + return this.updated2; + } + + public void setUpdated2(Updated2 updated2) { + this.updated2 = updated2; + } + + public Binded3 getBinded3() { + return this.binded3; + } + + public void setBinded3(Binded3 binded3) { + this.binded3 = binded3; + } + + public Deleted4 getDeleted4() { + return this.deleted4; + } + + public void setDeleted4(Deleted4 deleted4) { + this.deleted4 = deleted4; + } + + public Same5 getSame5() { + return this.same5; + } + + public void setSame5(Same5 same5) { + this.same5 = same5; + } + + public Pushed6 getPushed6() { + return this.pushed6; + } + + public void setPushed6(Pushed6 pushed6) { + this.pushed6 = pushed6; + } + + public static class Created1 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Updated2 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Binded3 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Deleted4 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Same5 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Pushed6 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + } + + public static class GroupStatistics { + + private Created7 created7; + + private Updated8 updated8; + + private Binded9 binded9; + + private Deleted10 deleted10; + + private Same11 same11; + + private Pushed12 pushed12; + + public Created7 getCreated7() { + return this.created7; + } + + public void setCreated7(Created7 created7) { + this.created7 = created7; + } + + public Updated8 getUpdated8() { + return this.updated8; + } + + public void setUpdated8(Updated8 updated8) { + this.updated8 = updated8; + } + + public Binded9 getBinded9() { + return this.binded9; + } + + public void setBinded9(Binded9 binded9) { + this.binded9 = binded9; + } + + public Deleted10 getDeleted10() { + return this.deleted10; + } + + public void setDeleted10(Deleted10 deleted10) { + this.deleted10 = deleted10; + } + + public Same11 getSame11() { + return this.same11; + } + + public void setSame11(Same11 same11) { + this.same11 = same11; + } + + public Pushed12 getPushed12() { + return this.pushed12; + } + + public void setPushed12(Pushed12 pushed12) { + this.pushed12 = pushed12; + } + + public static class Created7 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Updated8 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Binded9 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Deleted10 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Same11 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Pushed12 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + } + + public static class GroupMemberStatistics { + + private Created13 created13; + + private Updated14 updated14; + + private Binded15 binded15; + + private Deleted16 deleted16; + + private Same17 same17; + + private Pushed18 pushed18; + + public Created13 getCreated13() { + return this.created13; + } + + public void setCreated13(Created13 created13) { + this.created13 = created13; + } + + public Updated14 getUpdated14() { + return this.updated14; + } + + public void setUpdated14(Updated14 updated14) { + this.updated14 = updated14; + } + + public Binded15 getBinded15() { + return this.binded15; + } + + public void setBinded15(Binded15 binded15) { + this.binded15 = binded15; + } + + public Deleted16 getDeleted16() { + return this.deleted16; + } + + public void setDeleted16(Deleted16 deleted16) { + this.deleted16 = deleted16; + } + + public Same17 getSame17() { + return this.same17; + } + + public void setSame17(Same17 same17) { + this.same17 = same17; + } + + public Pushed18 getPushed18() { + return this.pushed18; + } + + public void setPushed18(Pushed18 pushed18) { + this.pushed18 = pushed18; + } + + public static class Created13 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Updated14 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Binded15 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Deleted16 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Same17 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + + public static class Pushed18 { + + private Long total; + + private Long success; + + private Long failed; + + private Long skipped; + + public Long getTotal() { + return this.total; + } + + public void setTotal(Long total) { + this.total = total; + } + + public Long getSuccess() { + return this.success; + } + + public void setSuccess(Long success) { + this.success = success; + } + + public Long getFailed() { + return this.failed; + } + + public void setFailed(Long failed) { + this.failed = failed; + } + + public Long getSkipped() { + return this.skipped; + } + + public void setSkipped(Long skipped) { + this.skipped = skipped; + } + } + } + } + } + + @Override + public ListSynchronizationJobsResponse getInstance(UnmarshallerContext context) { + return ListSynchronizationJobsResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListUsersForGroupResponse.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListUsersForGroupResponse.java index 83f9ee4425..56d762a389 100644 --- a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListUsersForGroupResponse.java +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/ListUsersForGroupResponse.java @@ -59,6 +59,10 @@ public static class User { private String userId; + private String groupMemberRelationSourceId; + + private String groupMemberRelationSourceType; + public String getUserId() { return this.userId; } @@ -66,6 +70,22 @@ public String getUserId() { public void setUserId(String userId) { this.userId = userId; } + + public String getGroupMemberRelationSourceId() { + return this.groupMemberRelationSourceId; + } + + public void setGroupMemberRelationSourceId(String groupMemberRelationSourceId) { + this.groupMemberRelationSourceId = groupMemberRelationSourceId; + } + + public String getGroupMemberRelationSourceType() { + return this.groupMemberRelationSourceType; + } + + public void setGroupMemberRelationSourceType(String groupMemberRelationSourceType) { + this.groupMemberRelationSourceType = groupMemberRelationSourceType; + } } @Override diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/RunSynchronizationJobRequest.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/RunSynchronizationJobRequest.java new file mode 100644 index 0000000000..f5c890d91d --- /dev/null +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/RunSynchronizationJobRequest.java @@ -0,0 +1,77 @@ +/* + * 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 RunSynchronizationJobRequest extends RpcAcsRequest { + + + private String targetId; + + private String targetType; + + private String instanceId; + public RunSynchronizationJobRequest() { + super("Eiam", "2021-12-01", "RunSynchronizationJob", "eiam"); + setProtocol(ProtocolType.HTTPS); + setMethod(MethodType.POST); + } + + public String getTargetId() { + return this.targetId; + } + + public void setTargetId(String targetId) { + this.targetId = targetId; + if(targetId != null){ + putQueryParameter("TargetId", targetId); + } + } + + public String getTargetType() { + return this.targetType; + } + + public void setTargetType(String targetType) { + this.targetType = targetType; + if(targetType != null){ + putQueryParameter("TargetType", targetType); + } + } + + public String getInstanceId() { + return this.instanceId; + } + + public void setInstanceId(String instanceId) { + this.instanceId = instanceId; + if(instanceId != null){ + putQueryParameter("InstanceId", instanceId); + } + } + + @Override + public Class getResponseClass() { + return RunSynchronizationJobResponse.class; + } + +} diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/RunSynchronizationJobResponse.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/RunSynchronizationJobResponse.java new file mode 100644 index 0000000000..4e3671d271 --- /dev/null +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/RunSynchronizationJobResponse.java @@ -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.eiam.model.v20211201; + +import com.aliyuncs.AcsResponse; +import com.aliyuncs.eiam.transform.v20211201.RunSynchronizationJobResponseUnmarshaller; +import com.aliyuncs.transform.UnmarshallerContext; + +/** + * @author auto create + * @version + */ +public class RunSynchronizationJobResponse extends AcsResponse { + + private String requestId; + + private String synchronizationJobId; + + public String getRequestId() { + return this.requestId; + } + + public void setRequestId(String requestId) { + this.requestId = requestId; + } + + public String getSynchronizationJobId() { + return this.synchronizationJobId; + } + + public void setSynchronizationJobId(String synchronizationJobId) { + this.synchronizationJobId = synchronizationJobId; + } + + @Override + public RunSynchronizationJobResponse getInstance(UnmarshallerContext context) { + return RunSynchronizationJobResponseUnmarshaller.unmarshall(this, context); + } + + @Override + public boolean checkShowJsonItemName() { + return false; + } +} diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/SetApplicationProvisioningScopeRequest.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/SetApplicationProvisioningScopeRequest.java index ea8b8e8e4d..ac3350ba90 100644 --- a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/SetApplicationProvisioningScopeRequest.java +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/model/v20211201/SetApplicationProvisioningScopeRequest.java @@ -30,7 +30,9 @@ public class SetApplicationProvisioningScopeRequest extends RpcAcsRequest organizationalUnitIds; - private String instanceId; + private String instanceId; + + private List groupIds; public SetApplicationProvisioningScopeRequest() { super("Eiam", "2021-12-01", "SetApplicationProvisioningScope", "eiam"); setProtocol(ProtocolType.HTTPS); @@ -70,6 +72,19 @@ public void setInstanceId(String instanceId) { if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } + } + + public List getGroupIds() { + return this.groupIds; + } + + public void setGroupIds(List groupIds) { + this.groupIds = groupIds; + if (groupIds != null) { + for (int depth1 = 0; depth1 < groupIds.size(); depth1++) { + putQueryParameter("GroupIds." + (depth1 + 1) , groupIds.get(depth1)); + } + } } @Override diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/GetApplicationProvisioningScopeResponseUnmarshaller.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/GetApplicationProvisioningScopeResponseUnmarshaller.java index e07df0e37d..8ff550ccaf 100644 --- a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/GetApplicationProvisioningScopeResponseUnmarshaller.java +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/GetApplicationProvisioningScopeResponseUnmarshaller.java @@ -29,12 +29,20 @@ public static GetApplicationProvisioningScopeResponse unmarshall(GetApplicationP getApplicationProvisioningScopeResponse.setRequestId(_ctx.stringValue("GetApplicationProvisioningScopeResponse.RequestId")); ApplicationProvisioningScope applicationProvisioningScope = new ApplicationProvisioningScope(); + applicationProvisioningScope.setUsedQuota(_ctx.integerValue("GetApplicationProvisioningScopeResponse.ApplicationProvisioningScope.UsedQuota")); + applicationProvisioningScope.setMaxQuota(_ctx.integerValue("GetApplicationProvisioningScopeResponse.ApplicationProvisioningScope.MaxQuota")); List organizationalUnitIds = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("GetApplicationProvisioningScopeResponse.ApplicationProvisioningScope.OrganizationalUnitIds.Length"); i++) { organizationalUnitIds.add(_ctx.stringValue("GetApplicationProvisioningScopeResponse.ApplicationProvisioningScope.OrganizationalUnitIds["+ i +"]")); } applicationProvisioningScope.setOrganizationalUnitIds(organizationalUnitIds); + + List groupIds = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("GetApplicationProvisioningScopeResponse.ApplicationProvisioningScope.GroupIds.Length"); i++) { + groupIds.add(_ctx.stringValue("GetApplicationProvisioningScopeResponse.ApplicationProvisioningScope.GroupIds["+ i +"]")); + } + applicationProvisioningScope.setGroupIds(groupIds); getApplicationProvisioningScopeResponse.setApplicationProvisioningScope(applicationProvisioningScope); return getApplicationProvisioningScopeResponse; diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/GetSynchronizationJobResponseUnmarshaller.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/GetSynchronizationJobResponseUnmarshaller.java new file mode 100644 index 0000000000..322ef4e333 --- /dev/null +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/GetSynchronizationJobResponseUnmarshaller.java @@ -0,0 +1,255 @@ +/* + * 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.GetSynchronizationJobResponse; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Binded15; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Created13; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Deleted16; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Pushed18; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Same17; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Updated14; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Binded9; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Created7; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Deleted10; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Pushed12; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Same11; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Updated8; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Binded3; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Created1; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Deleted4; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Pushed6; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Same5; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Updated2; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Binded; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Created; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Deleted; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Pushed; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Same; +import com.aliyuncs.eiam.model.v20211201.GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Updated; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class GetSynchronizationJobResponseUnmarshaller { + + public static GetSynchronizationJobResponse unmarshall(GetSynchronizationJobResponse getSynchronizationJobResponse, UnmarshallerContext _ctx) { + + getSynchronizationJobResponse.setRequestId(_ctx.stringValue("GetSynchronizationJobResponse.RequestId")); + + SynchronizationJob synchronizationJob = new SynchronizationJob(); + synchronizationJob.setSynchronizationJobId(_ctx.stringValue("GetSynchronizationJobResponse.SynchronizationJob.SynchronizationJobId")); + synchronizationJob.setTargetType(_ctx.stringValue("GetSynchronizationJobResponse.SynchronizationJob.TargetType")); + synchronizationJob.setTargetId(_ctx.stringValue("GetSynchronizationJobResponse.SynchronizationJob.TargetId")); + synchronizationJob.setDirection(_ctx.stringValue("GetSynchronizationJobResponse.SynchronizationJob.Direction")); + synchronizationJob.setStartTime(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.StartTime")); + synchronizationJob.setEndTime(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.EndTime")); + synchronizationJob.setTriggerType(_ctx.stringValue("GetSynchronizationJobResponse.SynchronizationJob.TriggerType")); + synchronizationJob.setStatus(_ctx.stringValue("GetSynchronizationJobResponse.SynchronizationJob.Status")); + + Result result = new Result(); + result.setErrorMessage(_ctx.stringValue("GetSynchronizationJobResponse.SynchronizationJob.Result.ErrorMessage")); + result.setErrorCode(_ctx.stringValue("GetSynchronizationJobResponse.SynchronizationJob.Result.ErrorCode")); + + UserStatistics userStatistics = new UserStatistics(); + + Created created = new Created(); + created.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Created.Total")); + created.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Created.Success")); + created.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Created.Failed")); + created.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Created.Skipped")); + userStatistics.setCreated(created); + + Updated updated = new Updated(); + updated.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Updated.Total")); + updated.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Updated.Success")); + updated.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Updated.Failed")); + updated.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Updated.Skipped")); + userStatistics.setUpdated(updated); + + Binded binded = new Binded(); + binded.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Binded.Total")); + binded.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Binded.Success")); + binded.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Binded.Failed")); + binded.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Binded.Skipped")); + userStatistics.setBinded(binded); + + Deleted deleted = new Deleted(); + deleted.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Deleted.Total")); + deleted.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Deleted.Success")); + deleted.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Deleted.Failed")); + deleted.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Deleted.Skipped")); + userStatistics.setDeleted(deleted); + + Same same = new Same(); + same.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Same.Total")); + same.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Same.Success")); + same.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Same.Failed")); + same.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Same.Skipped")); + userStatistics.setSame(same); + + Pushed pushed = new Pushed(); + pushed.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Pushed.Total")); + pushed.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Pushed.Success")); + pushed.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Pushed.Failed")); + pushed.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.UserStatistics.Pushed.Skipped")); + userStatistics.setPushed(pushed); + result.setUserStatistics(userStatistics); + + OrganizationalUnitStatistics organizationalUnitStatistics = new OrganizationalUnitStatistics(); + + Created1 created1 = new Created1(); + created1.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Created.Total")); + created1.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Created.Success")); + created1.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Created.Failed")); + created1.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Created.Skipped")); + organizationalUnitStatistics.setCreated1(created1); + + Updated2 updated2 = new Updated2(); + updated2.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Updated.Total")); + updated2.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Updated.Success")); + updated2.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Updated.Failed")); + updated2.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Updated.Skipped")); + organizationalUnitStatistics.setUpdated2(updated2); + + Binded3 binded3 = new Binded3(); + binded3.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Binded.Total")); + binded3.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Binded.Success")); + binded3.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Binded.Failed")); + binded3.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Binded.Skipped")); + organizationalUnitStatistics.setBinded3(binded3); + + Deleted4 deleted4 = new Deleted4(); + deleted4.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Deleted.Total")); + deleted4.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Deleted.Success")); + deleted4.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Deleted.Failed")); + deleted4.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Deleted.Skipped")); + organizationalUnitStatistics.setDeleted4(deleted4); + + Same5 same5 = new Same5(); + same5.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Same.Total")); + same5.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Same.Success")); + same5.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Same.Failed")); + same5.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Same.Skipped")); + organizationalUnitStatistics.setSame5(same5); + + Pushed6 pushed6 = new Pushed6(); + pushed6.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Pushed.Total")); + pushed6.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Pushed.Success")); + pushed6.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Pushed.Failed")); + pushed6.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Pushed.Skipped")); + organizationalUnitStatistics.setPushed6(pushed6); + result.setOrganizationalUnitStatistics(organizationalUnitStatistics); + + GroupStatistics groupStatistics = new GroupStatistics(); + + Created7 created7 = new Created7(); + created7.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Created.Total")); + created7.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Created.Success")); + created7.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Created.Failed")); + created7.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Created.Skipped")); + groupStatistics.setCreated7(created7); + + Updated8 updated8 = new Updated8(); + updated8.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Updated.Total")); + updated8.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Updated.Success")); + updated8.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Updated.Failed")); + updated8.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Updated.Skipped")); + groupStatistics.setUpdated8(updated8); + + Binded9 binded9 = new Binded9(); + binded9.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Binded.Total")); + binded9.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Binded.Success")); + binded9.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Binded.Failed")); + binded9.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Binded.Skipped")); + groupStatistics.setBinded9(binded9); + + Deleted10 deleted10 = new Deleted10(); + deleted10.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Deleted.Total")); + deleted10.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Deleted.Success")); + deleted10.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Deleted.Failed")); + deleted10.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Deleted.Skipped")); + groupStatistics.setDeleted10(deleted10); + + Same11 same11 = new Same11(); + same11.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Same.Total")); + same11.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Same.Success")); + same11.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Same.Failed")); + same11.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Same.Skipped")); + groupStatistics.setSame11(same11); + + Pushed12 pushed12 = new Pushed12(); + pushed12.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Pushed.Total")); + pushed12.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Pushed.Success")); + pushed12.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Pushed.Failed")); + pushed12.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupStatistics.Pushed.Skipped")); + groupStatistics.setPushed12(pushed12); + result.setGroupStatistics(groupStatistics); + + GroupMemberStatistics groupMemberStatistics = new GroupMemberStatistics(); + + Created13 created13 = new Created13(); + created13.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Created.Total")); + created13.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Created.Success")); + created13.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Created.Failed")); + created13.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Created.Skipped")); + groupMemberStatistics.setCreated13(created13); + + Updated14 updated14 = new Updated14(); + updated14.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Updated.Total")); + updated14.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Updated.Success")); + updated14.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Updated.Failed")); + updated14.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Updated.Skipped")); + groupMemberStatistics.setUpdated14(updated14); + + Binded15 binded15 = new Binded15(); + binded15.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Binded.Total")); + binded15.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Binded.Success")); + binded15.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Binded.Failed")); + binded15.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Binded.Skipped")); + groupMemberStatistics.setBinded15(binded15); + + Deleted16 deleted16 = new Deleted16(); + deleted16.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Deleted.Total")); + deleted16.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Deleted.Success")); + deleted16.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Deleted.Failed")); + deleted16.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Deleted.Skipped")); + groupMemberStatistics.setDeleted16(deleted16); + + Same17 same17 = new Same17(); + same17.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Same.Total")); + same17.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Same.Success")); + same17.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Same.Failed")); + same17.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Same.Skipped")); + groupMemberStatistics.setSame17(same17); + + Pushed18 pushed18 = new Pushed18(); + pushed18.setTotal(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Pushed.Total")); + pushed18.setSuccess(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Pushed.Success")); + pushed18.setFailed(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Pushed.Failed")); + pushed18.setSkipped(_ctx.longValue("GetSynchronizationJobResponse.SynchronizationJob.Result.GroupMemberStatistics.Pushed.Skipped")); + groupMemberStatistics.setPushed18(pushed18); + result.setGroupMemberStatistics(groupMemberStatistics); + synchronizationJob.setResult(result); + getSynchronizationJobResponse.setSynchronizationJob(synchronizationJob); + + return getSynchronizationJobResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/GetUserResponseUnmarshaller.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/GetUserResponseUnmarshaller.java index 3977d0f931..e9fafa426e 100644 --- a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/GetUserResponseUnmarshaller.java +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/GetUserResponseUnmarshaller.java @@ -54,6 +54,7 @@ public static GetUserResponse unmarshall(GetUserResponse getUserResponse, Unmars user.setDescription(_ctx.stringValue("GetUserResponse.User.Description")); user.setPrimaryOrganizationalUnitId(_ctx.stringValue("GetUserResponse.User.PrimaryOrganizationalUnitId")); user.setInstanceId(_ctx.stringValue("GetUserResponse.User.InstanceId")); + user.setPreferredLanguage(_ctx.stringValue("GetUserResponse.User.PreferredLanguage")); List organizationalUnits = new ArrayList(); for (int i = 0; i < _ctx.lengthValue("GetUserResponse.User.OrganizationalUnits.Length"); i++) { diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/ListApplicationsResponseUnmarshaller.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/ListApplicationsResponseUnmarshaller.java index 44d967058c..dc8e1726f0 100644 --- a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/ListApplicationsResponseUnmarshaller.java +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/ListApplicationsResponseUnmarshaller.java @@ -46,6 +46,7 @@ public static ListApplicationsResponse unmarshall(ListApplicationsResponse listA application.setUpdateTime(_ctx.longValue("ListApplicationsResponse.Applications["+ i +"].UpdateTime")); application.setServiceManaged(_ctx.booleanValue("ListApplicationsResponse.Applications["+ i +"].ServiceManaged")); application.setManagedServiceCode(_ctx.stringValue("ListApplicationsResponse.Applications["+ i +"].ManagedServiceCode")); + application.setApplicationTemplateId(_ctx.stringValue("ListApplicationsResponse.Applications["+ i +"].ApplicationTemplateId")); applications.add(application); } diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/ListGroupsForUserResponseUnmarshaller.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/ListGroupsForUserResponseUnmarshaller.java index c8488e0157..7baaed596b 100644 --- a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/ListGroupsForUserResponseUnmarshaller.java +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/ListGroupsForUserResponseUnmarshaller.java @@ -33,6 +33,8 @@ public static ListGroupsForUserResponse unmarshall(ListGroupsForUserResponse lis for (int i = 0; i < _ctx.lengthValue("ListGroupsForUserResponse.Groups.Length"); i++) { Group group = new Group(); group.setGroupId(_ctx.stringValue("ListGroupsForUserResponse.Groups["+ i +"].GroupId")); + group.setGroupMemberRelationSourceId(_ctx.stringValue("ListGroupsForUserResponse.Groups["+ i +"].GroupMemberRelationSourceId")); + group.setGroupMemberRelationSourceType(_ctx.stringValue("ListGroupsForUserResponse.Groups["+ i +"].GroupMemberRelationSourceType")); groups.add(group); } diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/ListSynchronizationJobsResponseUnmarshaller.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/ListSynchronizationJobsResponseUnmarshaller.java new file mode 100644 index 0000000000..7e30896bf0 --- /dev/null +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/ListSynchronizationJobsResponseUnmarshaller.java @@ -0,0 +1,265 @@ +/* + * 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 java.util.ArrayList; +import java.util.List; + +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.GroupMemberStatistics; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.GroupMemberStatistics.Binded15; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.GroupMemberStatistics.Created13; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.GroupMemberStatistics.Deleted16; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.GroupMemberStatistics.Pushed18; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.GroupMemberStatistics.Same17; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.GroupMemberStatistics.Updated14; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.GroupStatistics; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.GroupStatistics.Binded9; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.GroupStatistics.Created7; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.GroupStatistics.Deleted10; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.GroupStatistics.Pushed12; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.GroupStatistics.Same11; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.GroupStatistics.Updated8; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.OrganizationalUnitStatistics; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Binded3; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Created1; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Deleted4; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Pushed6; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Same5; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.OrganizationalUnitStatistics.Updated2; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.UserStatistics; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.UserStatistics.Binded; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.UserStatistics.Created; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.UserStatistics.Deleted; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.UserStatistics.Pushed; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.UserStatistics.Same; +import com.aliyuncs.eiam.model.v20211201.ListSynchronizationJobsResponse.SynchronizationJob.Result.UserStatistics.Updated; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class ListSynchronizationJobsResponseUnmarshaller { + + public static ListSynchronizationJobsResponse unmarshall(ListSynchronizationJobsResponse listSynchronizationJobsResponse, UnmarshallerContext _ctx) { + + listSynchronizationJobsResponse.setRequestId(_ctx.stringValue("ListSynchronizationJobsResponse.RequestId")); + listSynchronizationJobsResponse.setTotalCount(_ctx.longValue("ListSynchronizationJobsResponse.TotalCount")); + listSynchronizationJobsResponse.setNextToken(_ctx.stringValue("ListSynchronizationJobsResponse.NextToken")); + + List synchronizationJobs = new ArrayList(); + for (int i = 0; i < _ctx.lengthValue("ListSynchronizationJobsResponse.SynchronizationJobs.Length"); i++) { + SynchronizationJob synchronizationJob = new SynchronizationJob(); + synchronizationJob.setSynchronizationJobId(_ctx.stringValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].SynchronizationJobId")); + synchronizationJob.setTargetType(_ctx.stringValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].TargetType")); + synchronizationJob.setTargetId(_ctx.stringValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].TargetId")); + synchronizationJob.setDirection(_ctx.stringValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Direction")); + synchronizationJob.setStartTime(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].StartTime")); + synchronizationJob.setEndTime(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].EndTime")); + synchronizationJob.setTriggerType(_ctx.stringValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].TriggerType")); + synchronizationJob.setStatus(_ctx.stringValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Status")); + + Result result = new Result(); + result.setErrorMessage(_ctx.stringValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.ErrorMessage")); + result.setErrorCode(_ctx.stringValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.ErrorCode")); + + UserStatistics userStatistics = new UserStatistics(); + + Created created = new Created(); + created.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Created.Total")); + created.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Created.Success")); + created.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Created.Failed")); + created.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Created.Skipped")); + userStatistics.setCreated(created); + + Updated updated = new Updated(); + updated.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Updated.Total")); + updated.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Updated.Success")); + updated.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Updated.Failed")); + updated.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Updated.Skipped")); + userStatistics.setUpdated(updated); + + Binded binded = new Binded(); + binded.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Binded.Total")); + binded.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Binded.Success")); + binded.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Binded.Failed")); + binded.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Binded.Skipped")); + userStatistics.setBinded(binded); + + Deleted deleted = new Deleted(); + deleted.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Deleted.Total")); + deleted.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Deleted.Success")); + deleted.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Deleted.Failed")); + deleted.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Deleted.Skipped")); + userStatistics.setDeleted(deleted); + + Same same = new Same(); + same.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Same.Total")); + same.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Same.Success")); + same.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Same.Failed")); + same.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Same.Skipped")); + userStatistics.setSame(same); + + Pushed pushed = new Pushed(); + pushed.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Pushed.Total")); + pushed.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Pushed.Success")); + pushed.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Pushed.Failed")); + pushed.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.UserStatistics.Pushed.Skipped")); + userStatistics.setPushed(pushed); + result.setUserStatistics(userStatistics); + + OrganizationalUnitStatistics organizationalUnitStatistics = new OrganizationalUnitStatistics(); + + Created1 created1 = new Created1(); + created1.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Created.Total")); + created1.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Created.Success")); + created1.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Created.Failed")); + created1.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Created.Skipped")); + organizationalUnitStatistics.setCreated1(created1); + + Updated2 updated2 = new Updated2(); + updated2.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Updated.Total")); + updated2.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Updated.Success")); + updated2.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Updated.Failed")); + updated2.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Updated.Skipped")); + organizationalUnitStatistics.setUpdated2(updated2); + + Binded3 binded3 = new Binded3(); + binded3.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Binded.Total")); + binded3.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Binded.Success")); + binded3.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Binded.Failed")); + binded3.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Binded.Skipped")); + organizationalUnitStatistics.setBinded3(binded3); + + Deleted4 deleted4 = new Deleted4(); + deleted4.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Deleted.Total")); + deleted4.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Deleted.Success")); + deleted4.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Deleted.Failed")); + deleted4.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Deleted.Skipped")); + organizationalUnitStatistics.setDeleted4(deleted4); + + Same5 same5 = new Same5(); + same5.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Same.Total")); + same5.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Same.Success")); + same5.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Same.Failed")); + same5.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Same.Skipped")); + organizationalUnitStatistics.setSame5(same5); + + Pushed6 pushed6 = new Pushed6(); + pushed6.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Pushed.Total")); + pushed6.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Pushed.Success")); + pushed6.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Pushed.Failed")); + pushed6.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.OrganizationalUnitStatistics.Pushed.Skipped")); + organizationalUnitStatistics.setPushed6(pushed6); + result.setOrganizationalUnitStatistics(organizationalUnitStatistics); + + GroupStatistics groupStatistics = new GroupStatistics(); + + Created7 created7 = new Created7(); + created7.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Created.Total")); + created7.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Created.Success")); + created7.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Created.Failed")); + created7.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Created.Skipped")); + groupStatistics.setCreated7(created7); + + Updated8 updated8 = new Updated8(); + updated8.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Updated.Total")); + updated8.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Updated.Success")); + updated8.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Updated.Failed")); + updated8.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Updated.Skipped")); + groupStatistics.setUpdated8(updated8); + + Binded9 binded9 = new Binded9(); + binded9.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Binded.Total")); + binded9.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Binded.Success")); + binded9.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Binded.Failed")); + binded9.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Binded.Skipped")); + groupStatistics.setBinded9(binded9); + + Deleted10 deleted10 = new Deleted10(); + deleted10.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Deleted.Total")); + deleted10.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Deleted.Success")); + deleted10.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Deleted.Failed")); + deleted10.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Deleted.Skipped")); + groupStatistics.setDeleted10(deleted10); + + Same11 same11 = new Same11(); + same11.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Same.Total")); + same11.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Same.Success")); + same11.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Same.Failed")); + same11.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Same.Skipped")); + groupStatistics.setSame11(same11); + + Pushed12 pushed12 = new Pushed12(); + pushed12.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Pushed.Total")); + pushed12.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Pushed.Success")); + pushed12.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Pushed.Failed")); + pushed12.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupStatistics.Pushed.Skipped")); + groupStatistics.setPushed12(pushed12); + result.setGroupStatistics(groupStatistics); + + GroupMemberStatistics groupMemberStatistics = new GroupMemberStatistics(); + + Created13 created13 = new Created13(); + created13.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Created.Total")); + created13.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Created.Success")); + created13.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Created.Failed")); + created13.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Created.Skipped")); + groupMemberStatistics.setCreated13(created13); + + Updated14 updated14 = new Updated14(); + updated14.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Updated.Total")); + updated14.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Updated.Success")); + updated14.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Updated.Failed")); + updated14.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Updated.Skipped")); + groupMemberStatistics.setUpdated14(updated14); + + Binded15 binded15 = new Binded15(); + binded15.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Binded.Total")); + binded15.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Binded.Success")); + binded15.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Binded.Failed")); + binded15.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Binded.Skipped")); + groupMemberStatistics.setBinded15(binded15); + + Deleted16 deleted16 = new Deleted16(); + deleted16.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Deleted.Total")); + deleted16.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Deleted.Success")); + deleted16.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Deleted.Failed")); + deleted16.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Deleted.Skipped")); + groupMemberStatistics.setDeleted16(deleted16); + + Same17 same17 = new Same17(); + same17.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Same.Total")); + same17.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Same.Success")); + same17.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Same.Failed")); + same17.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Same.Skipped")); + groupMemberStatistics.setSame17(same17); + + Pushed18 pushed18 = new Pushed18(); + pushed18.setTotal(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Pushed.Total")); + pushed18.setSuccess(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Pushed.Success")); + pushed18.setFailed(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Pushed.Failed")); + pushed18.setSkipped(_ctx.longValue("ListSynchronizationJobsResponse.SynchronizationJobs["+ i +"].Result.GroupMemberStatistics.Pushed.Skipped")); + groupMemberStatistics.setPushed18(pushed18); + result.setGroupMemberStatistics(groupMemberStatistics); + synchronizationJob.setResult(result); + + synchronizationJobs.add(synchronizationJob); + } + listSynchronizationJobsResponse.setSynchronizationJobs(synchronizationJobs); + + return listSynchronizationJobsResponse; + } +} \ No newline at end of file diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/ListUsersForGroupResponseUnmarshaller.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/ListUsersForGroupResponseUnmarshaller.java index da82910b86..de77ec0cdf 100644 --- a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/ListUsersForGroupResponseUnmarshaller.java +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/ListUsersForGroupResponseUnmarshaller.java @@ -33,6 +33,8 @@ public static ListUsersForGroupResponse unmarshall(ListUsersForGroupResponse lis for (int i = 0; i < _ctx.lengthValue("ListUsersForGroupResponse.Users.Length"); i++) { User user = new User(); user.setUserId(_ctx.stringValue("ListUsersForGroupResponse.Users["+ i +"].UserId")); + user.setGroupMemberRelationSourceId(_ctx.stringValue("ListUsersForGroupResponse.Users["+ i +"].GroupMemberRelationSourceId")); + user.setGroupMemberRelationSourceType(_ctx.stringValue("ListUsersForGroupResponse.Users["+ i +"].GroupMemberRelationSourceType")); users.add(user); } diff --git a/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/RunSynchronizationJobResponseUnmarshaller.java b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/RunSynchronizationJobResponseUnmarshaller.java new file mode 100644 index 0000000000..e045fdd892 --- /dev/null +++ b/aliyun-java-sdk-eiam/src/main/java/com/aliyuncs/eiam/transform/v20211201/RunSynchronizationJobResponseUnmarshaller.java @@ -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.eiam.transform.v20211201; + +import com.aliyuncs.eiam.model.v20211201.RunSynchronizationJobResponse; +import com.aliyuncs.transform.UnmarshallerContext; + + +public class RunSynchronizationJobResponseUnmarshaller { + + public static RunSynchronizationJobResponse unmarshall(RunSynchronizationJobResponse runSynchronizationJobResponse, UnmarshallerContext _ctx) { + + runSynchronizationJobResponse.setRequestId(_ctx.stringValue("RunSynchronizationJobResponse.RequestId")); + runSynchronizationJobResponse.setSynchronizationJobId(_ctx.stringValue("RunSynchronizationJobResponse.SynchronizationJobId")); + + return runSynchronizationJobResponse; + } +} \ No newline at end of file