/*
 * 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.digitalstore.model.v20200107;

import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.digitalstore.Endpoint;

/**
 * @author auto create
 * @version 
 */
public class UploadSKUTagsRequest extends RpcAcsRequest<UploadSKUTagsResponse> {
	   

	private List<String> tagLists;

	private String takeStockOrderId;

	private String taskId;
	public UploadSKUTagsRequest() {
		super("digitalstore", "2020-01-07", "UploadSKUTags", "digitalstore");
		setMethod(MethodType.POST);
		try {
			com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
			com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
		} catch (Exception e) {}
	}

	public List<String> getTagLists() {
		return this.tagLists;
	}

	public void setTagLists(List<String> tagLists) {
		this.tagLists = tagLists;	
		if (tagLists != null) {
			for (int i = 0; i < tagLists.size(); i++) {
				putBodyParameter("TagList." + (i + 1) , tagLists.get(i));
			}
		}	
	}

	public String getTakeStockOrderId() {
		return this.takeStockOrderId;
	}

	public void setTakeStockOrderId(String takeStockOrderId) {
		this.takeStockOrderId = takeStockOrderId;
		if(takeStockOrderId != null){
			putBodyParameter("TakeStockOrderId", takeStockOrderId);
		}
	}

	public String getTaskId() {
		return this.taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
		if(taskId != null){
			putBodyParameter("TaskId", taskId);
		}
	}

	@Override
	public Class<UploadSKUTagsResponse> getResponseClass() {
		return UploadSKUTagsResponse.class;
	}

}
