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

cn.binarywang.wx.miniapp.bean.WxMaAuditMediaUploadResult Maven / Gradle / Ivy

There is a newer version: 4.6.7.B
Show newest version
package cn.binarywang.wx.miniapp.bean;

import com.google.gson.annotations.SerializedName;
import lombok.Data;
import me.chanjar.weixin.common.util.json.WxGsonBuilder;

import java.io.Serializable;

/**
 * 小程序 提审素材上传接口
 *
 * @author yangyh22
 * @since 2020/11/14
 */
@Data
public class WxMaAuditMediaUploadResult implements Serializable {
  private static final long serialVersionUID = 1L;

  private String type;

  @SerializedName("mediaid")
  private String mediaId;

  public static WxMaAuditMediaUploadResult fromJson(String json) {
    return WxGsonBuilder.create().fromJson(json, WxMaAuditMediaUploadResult.class);
  }

  @Override
  public String toString() {
    return WxGsonBuilder.create().toJson(this);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy