com.foxinmy.weixin4j.tuple
Class MpArticle

java.lang.Object
  extended by com.foxinmy.weixin4j.tuple.MpArticle
All Implemented Interfaces:
Serializable

public class MpArticle
extends Object
implements Serializable

群发消息图文(消息内容存储在微信后台)

Since:
JDK 1.6
Author:
jinyu(foxinmy@gmail.com)
See Also:
Serialized Form

Constructor Summary
MpArticle(String thumbMediaId, String title, String content)
           
 
Method Summary
 String getAuthor()
           
 String getContent()
           
 String getDigest()
           
 boolean getFormatOnlyFansCanComment()
           
 boolean getFormatOpenComment()
           
 boolean getFormatShowCoverPic()
           
 String getOnlyFansCanComment()
           
 String getOpenComment()
           
 String getShowCoverPic()
           
 String getSourceUrl()
           
 String getThumbMediaId()
           
 String getThumbUrl()
           
 String getTitle()
           
 String getUrl()
           
 void setAuthor(String author)
           
 void setContent(String content)
           
 void setDigest(String digest)
           
 void setOnlyFansCanComment(boolean onlyFansCanComment)
           
 void setOnlyFansCanComment(String onlyFansCanComment)
           
 void setOpenComment(boolean openComment)
           
 void setOpenComment(String openComment)
           
 void setShowCoverPic(boolean showCoverPic)
           
 void setShowCoverPic(String showCoverPic)
           
 void setSourceUrl(String sourceUrl)
           
 void setThumbMediaId(String thumbMediaId)
           
 void setThumbUrl(String thumbUrl)
           
 void setTitle(String title)
           
 void setUrl(String url)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MpArticle

public MpArticle(String thumbMediaId,
                 String title,
                 String content)
Parameters:
thumbMediaId - 缩略图
title - 标题
content - 内容
Method Detail

getThumbMediaId

public String getThumbMediaId()

setThumbMediaId

public void setThumbMediaId(String thumbMediaId)

getThumbUrl

public String getThumbUrl()

setThumbUrl

public void setThumbUrl(String thumbUrl)

getAuthor

public String getAuthor()

setAuthor

public void setAuthor(String author)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getUrl

public String getUrl()

setUrl

public void setUrl(String url)

getSourceUrl

public String getSourceUrl()

setSourceUrl

public void setSourceUrl(String sourceUrl)

getContent

public String getContent()

setContent

public void setContent(String content)

getDigest

public String getDigest()

setDigest

public void setDigest(String digest)

getShowCoverPic

public String getShowCoverPic()

setShowCoverPic

public void setShowCoverPic(String showCoverPic)

setShowCoverPic

public void setShowCoverPic(boolean showCoverPic)

getFormatShowCoverPic

public boolean getFormatShowCoverPic()

setOpenComment

public void setOpenComment(boolean openComment)

getOpenComment

public String getOpenComment()

setOpenComment

public void setOpenComment(String openComment)

getOnlyFansCanComment

public String getOnlyFansCanComment()

setOnlyFansCanComment

public void setOnlyFansCanComment(String onlyFansCanComment)

getFormatOpenComment

public boolean getFormatOpenComment()

setOnlyFansCanComment

public void setOnlyFansCanComment(boolean onlyFansCanComment)

getFormatOnlyFansCanComment

public boolean getFormatOnlyFansCanComment()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014–2017. All rights reserved.