All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyuncs.quickbi_public.transform.v20220101.QueryUserInfoByUserIdResponseUnmarshaller Maven / Gradle / Ivy

Go to download

Aliyun Open API SDK for Java Copyright (C) Alibaba Cloud Computing All rights reserved. 版权所有 (C)阿里云计算有限公司 http://www.aliyun.com

There is a newer version: 2.1.11
Show newest version
/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.aliyuncs.quickbi_public.transform.v20220101;

import com.aliyuncs.quickbi_public.model.v20220101.QueryUserInfoByUserIdResponse;
import com.aliyuncs.quickbi_public.model.v20220101.QueryUserInfoByUserIdResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;


public class QueryUserInfoByUserIdResponseUnmarshaller {

	public static QueryUserInfoByUserIdResponse unmarshall(QueryUserInfoByUserIdResponse queryUserInfoByUserIdResponse, UnmarshallerContext _ctx) {
		
		queryUserInfoByUserIdResponse.setRequestId(_ctx.stringValue("QueryUserInfoByUserIdResponse.RequestId"));
		queryUserInfoByUserIdResponse.setSuccess(_ctx.booleanValue("QueryUserInfoByUserIdResponse.Success"));

		Result result = new Result();
		result.setUserType(_ctx.integerValue("QueryUserInfoByUserIdResponse.Result.UserType"));
		result.setEmail(_ctx.stringValue("QueryUserInfoByUserIdResponse.Result.Email"));
		result.setUserId(_ctx.stringValue("QueryUserInfoByUserIdResponse.Result.UserId"));
		result.setAuthAdminUser(_ctx.booleanValue("QueryUserInfoByUserIdResponse.Result.AuthAdminUser"));
		result.setAccountId(_ctx.stringValue("QueryUserInfoByUserIdResponse.Result.AccountId"));
		result.setNickName(_ctx.stringValue("QueryUserInfoByUserIdResponse.Result.NickName"));
		result.setAdminUser(_ctx.booleanValue("QueryUserInfoByUserIdResponse.Result.AdminUser"));
		result.setPhone(_ctx.stringValue("QueryUserInfoByUserIdResponse.Result.Phone"));
		result.setAccountName(_ctx.stringValue("QueryUserInfoByUserIdResponse.Result.AccountName"));
		queryUserInfoByUserIdResponse.setResult(result);
	 
	 	return queryUserInfoByUserIdResponse;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy