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

com.aliyuncs.imm.transform.v20200930.CreateBindingResponseUnmarshaller Maven / Gradle / Ivy

/*
 * 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.imm.transform.v20200930;

import com.aliyuncs.imm.model.v20200930.CreateBindingResponse;
import com.aliyuncs.imm.model.v20200930.CreateBindingResponse.Binding;
import com.aliyuncs.transform.UnmarshallerContext;


public class CreateBindingResponseUnmarshaller {

	public static CreateBindingResponse unmarshall(CreateBindingResponse createBindingResponse, UnmarshallerContext _ctx) {
		
		createBindingResponse.setRequestId(_ctx.stringValue("CreateBindingResponse.RequestId"));

		Binding binding = new Binding();
		binding.setProjectName(_ctx.stringValue("CreateBindingResponse.Binding.ProjectName"));
		binding.setDatasetName(_ctx.stringValue("CreateBindingResponse.Binding.DatasetName"));
		binding.setURI(_ctx.stringValue("CreateBindingResponse.Binding.URI"));
		binding.setState(_ctx.stringValue("CreateBindingResponse.Binding.State"));
		binding.setPhase(_ctx.stringValue("CreateBindingResponse.Binding.Phase"));
		binding.setDetail(_ctx.stringValue("CreateBindingResponse.Binding.Detail"));
		binding.setCreateTime(_ctx.stringValue("CreateBindingResponse.Binding.CreateTime"));
		binding.setUpdateTime(_ctx.stringValue("CreateBindingResponse.Binding.UpdateTime"));
		createBindingResponse.setBinding(binding);
	 
	 	return createBindingResponse;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy