com.aliyuncs.ims.transform.v20190815.UpdateUserResponseUnmarshaller Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-java-sdk-ims Show documentation
Show all versions of aliyun-java-sdk-ims Show documentation
Aliyun Open API SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
/*
* 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.ims.transform.v20190815;
import com.aliyuncs.ims.model.v20190815.UpdateUserResponse;
import com.aliyuncs.ims.model.v20190815.UpdateUserResponse.User;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateUserResponseUnmarshaller {
public static UpdateUserResponse unmarshall(UpdateUserResponse updateUserResponse, UnmarshallerContext _ctx) {
updateUserResponse.setRequestId(_ctx.stringValue("UpdateUserResponse.RequestId"));
User user = new User();
user.setDisplayName(_ctx.stringValue("UpdateUserResponse.User.DisplayName"));
user.setUserPrincipalName(_ctx.stringValue("UpdateUserResponse.User.UserPrincipalName"));
user.setEmail(_ctx.stringValue("UpdateUserResponse.User.Email"));
user.setUpdateDate(_ctx.stringValue("UpdateUserResponse.User.UpdateDate"));
user.setMobilePhone(_ctx.stringValue("UpdateUserResponse.User.MobilePhone"));
user.setUserId(_ctx.stringValue("UpdateUserResponse.User.UserId"));
user.setComments(_ctx.stringValue("UpdateUserResponse.User.Comments"));
user.setLastLoginDate(_ctx.stringValue("UpdateUserResponse.User.LastLoginDate"));
user.setCreateDate(_ctx.stringValue("UpdateUserResponse.User.CreateDate"));
user.setProvisionType(_ctx.stringValue("UpdateUserResponse.User.ProvisionType"));
updateUserResponse.setUser(user);
return updateUserResponse;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy