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

cn.binarywang.wx.miniapp.bean.code.WxMaCodeCommitRequest Maven / Gradle / Ivy

The newest version!
package cn.binarywang.wx.miniapp.bean.code;

import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * 微信代码请求上传参数
 *
 * @author Charming
 * @since 2018-04-26 19:44:47
 */
@Data
@Builder
public class WxMaCodeCommitRequest implements Serializable {
  private static final long serialVersionUID = 7495157056049312108L;
  /**
   * 代码库中的代码模版ID
   */
  private Long templateId;
  /**
   * 第三方自定义的配置
   */
  private WxMaCodeExtConfig extConfig;
  /**
   * 代码版本号,开发者可自定义
   */
  private String userVersion;
  /**
   * 代码描述,开发者可自定义
   */
  private String userDesc;

  public String toJson() {
    return WxMaGsonBuilder.create().toJson(this);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy