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

me.chanjar.weixin.mp.bean.result.WxMpMassUploadResult Maven / Gradle / Ivy

There is a newer version: 4.6.9.B
Show newest version
package me.chanjar.weixin.mp.bean.result;

import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder;

import java.io.Serializable;

/**
 * 
 * 上传群发用的素材的结果
 * 视频和图文消息需要在群发前上传素材
 * 
* @author chanjarster * */ public class WxMpMassUploadResult implements Serializable { private String type; private String mediaId; private long createdAt; public String getType() { return type; } public void setType(String type) { this.type = type; } public String getMediaId() { return mediaId; } public void setMediaId(String mediaId) { this.mediaId = mediaId; } public long getCreatedAt() { return createdAt; } public void setCreatedAt(long createdAt) { this.createdAt = createdAt; } public static WxMpMassUploadResult fromJson(String json) { return WxMpGsonBuilder.create().fromJson(json, WxMpMassUploadResult.class); } @Override public String toString() { return "WxUploadResult [type=" + type + ", media_id=" + mediaId + ", created_at=" + createdAt + "]"; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy