You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Open-IM-Server/internal/push/mobpush/requestparams/pushObj.go

29 lines
643 B

2 years ago
package requestparams
type PushObj struct {
Source interface{} `json:"source"`
Appkey interface{} `json:"appkey"`
PushTarget interface{} `json:"pushTarget,omitempty"`
PushNotify interface{} `json:"pushNotify,omitempty"`
PushForward interface{} `json:"pushForward,omitempty"`
}
func (p *PushObj) SetSource(source string) {
p.Source = source
}
func (p *PushObj) SetAppkey(appkey string) {
p.Appkey = appkey
}
func (p *PushObj) SetPushTarget(no *PushTarget) {
p.PushTarget = no
}
func (p *PushObj) SetPushNotify(m *PushNotify) {
p.PushNotify = m
}
func (p *PushObj) SetPushForward(o *PushForward) {
p.PushForward = o
}