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

com.aliyuncs.cccxspaceinner.transform.v20191227.GetTicketResponseUnmarshaller 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: 1.0.24
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.cccxspaceinner.transform.v20191227;

import com.aliyuncs.cccxspaceinner.model.v20191227.GetTicketResponse;
import com.aliyuncs.cccxspaceinner.model.v20191227.GetTicketResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;


public class GetTicketResponseUnmarshaller {

	public static GetTicketResponse unmarshall(GetTicketResponse getTicketResponse, UnmarshallerContext _ctx) {
		
		getTicketResponse.setRequestId(_ctx.stringValue("GetTicketResponse.RequestId"));
		getTicketResponse.setMessage(_ctx.stringValue("GetTicketResponse.Message"));
		getTicketResponse.setCode(_ctx.stringValue("GetTicketResponse.Code"));
		getTicketResponse.setSuccess(_ctx.booleanValue("GetTicketResponse.Success"));

		Data data = new Data();
		data.setFormId(_ctx.longValue("GetTicketResponse.Data.FormId"));
		data.setResponsible(_ctx.longValue("GetTicketResponse.Data.Responsible"));
		data.setGmtModified(_ctx.longValue("GetTicketResponse.Data.GmtModified"));
		data.setDataId(_ctx.longValue("GetTicketResponse.Data.DataId"));
		data.setQuestionInfo(_ctx.stringValue("GetTicketResponse.Data.QuestionInfo"));
		data.setBuId(_ctx.longValue("GetTicketResponse.Data.BuId"));
		data.setSrType(_ctx.stringValue("GetTicketResponse.Data.SrType"));
		data.setFeedback(_ctx.stringValue("GetTicketResponse.Data.Feedback"));
		data.setCreateMode(_ctx.stringValue("GetTicketResponse.Data.CreateMode"));
		data.setTouchId(_ctx.longValue("GetTicketResponse.Data.TouchId"));
		data.setFormCode(_ctx.stringValue("GetTicketResponse.Data.FormCode"));
		data.setMemberName(_ctx.stringValue("GetTicketResponse.Data.MemberName"));
		data.setBizId(_ctx.stringValue("GetTicketResponse.Data.BizId"));
		data.setRefCaseId(_ctx.longValue("GetTicketResponse.Data.RefCaseId"));
		data.setOwnerName(_ctx.stringValue("GetTicketResponse.Data.OwnerName"));
		data.setFromInfo(_ctx.stringValue("GetTicketResponse.Data.FromInfo"));
		data.setMemberType(_ctx.integerValue("GetTicketResponse.Data.MemberType"));
		data.setContactId(_ctx.longValue("GetTicketResponse.Data.ContactId"));
		data.setDepartmentId(_ctx.longValue("GetTicketResponse.Data.DepartmentId"));
		data.setGmtCreate(_ctx.longValue("GetTicketResponse.Data.GmtCreate"));
		data.setSopCateId(_ctx.longValue("GetTicketResponse.Data.SopCateId"));
		data.setTemplateId(_ctx.longValue("GetTicketResponse.Data.TemplateId"));
		data.setExtAttrs(_ctx.stringValue("GetTicketResponse.Data.ExtAttrs"));
		data.setCaseStatus(_ctx.integerValue("GetTicketResponse.Data.CaseStatus"));
		data.setId(_ctx.stringValue("GetTicketResponse.Data.Id"));
		getTicketResponse.setData(data);
	 
	 	return getTicketResponse;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy