Java tutorial
/* * Copyright 2015 ireader.com All right reserved. This software is the * confidential and proprietary information of ireader.com ("Confidential * Information"). You shall not disclose such Confidential Information and shall * use it only in accordance with the terms of the license agreement you entered * into with ireader.com. */ package com.apus.hades.api.request.ad; import com.apus.hades.common.utils.FastJsonUtils; import com.rop.request.ApusRequest; import org.apache.commons.lang3.StringUtils; import java.util.List; /** * @author wangliping * @Descriptions ??. * @date 2015421 */ public class AdInfoRequest extends ApusRequest { /** * app */ private String app; /** * ?ids , */ private String positions; /** * ??. * * @return */ public List<Pcs> getPcsList() { if (StringUtils.isBlank(positions)) { return null; } List<Pcs> list = FastJsonUtils.toList(positions, Pcs.class); return list; } public String getApp() { return app; } public void setApp(String app) { this.app = app; } public String getPositions() { return positions; } public void setPositions(String positions) { this.positions = positions; } }