me.chanjar.weixin.cp.bean.messagebuilder

## 类 BaseBuilder<T>

- java.lang.Object
- - me.chanjar.weixin.cp.bean.messagebuilder.BaseBuilder<T>

直接已知子类:
  FileBuilder, ImageBuilder, NewsBuilder, TextBuilder, VideoBuilder, VoiceBuilder

    public class BaseBuilder<T>
    extends Object

### 字段概要

字段
`protected Integer` `agentId`
`protected String` `msgType`
`protected String` `safe`
`protected String` `toParty`
`protected String` `toTag`
`protected String` `toUser`

### 构造器概要

构造器
构造器和说明
`BaseBuilder()`

### 方法概要

方法
`T` `agentId(Integer agentId)`
`WxCpMessage` `build()`
`T` `safe(String safe)`
`T` `toParty(String toParty)`
`T` `toTag(String toTag)`
`T` `toUser(String toUser)`

### 从类继承的方法 java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### 字段详细资料

#### msgType

    protected String msgType

#### agentId

    protected Integer agentId

#### toUser

    protected String toUser

#### toParty

    protected String toParty

#### toTag

    protected String toTag

#### safe

    protected String safe

### 构造器详细资料

#### BaseBuilder

    public BaseBuilder()

### 方法详细资料

#### agentId

    public T agentId(Integer agentId)

#### toUser

    public T toUser(String toUser)

#### toParty

    public T toParty(String toParty)

#### toTag

    public T toTag(String toTag)

#### safe

    public T safe(String safe)

#### build

    public WxCpMessage build()