public class SetMarqueeRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| SetMarqueeRequest() | 
| SetMarqueeRequest(SetMarqueeRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getBackgroundColor()Get 背景颜色(十六进制颜色值,例如:#FFFF00(黄色)) | 
| Float | getBackgroundOpacity()Get 背景透明度(数字,范围 0.0 到 1.0) | 
| String | getContent()Get 固定值内容(当MarqueeType=1或5,则展示固定值内容) | 
| Long | getDisplayMode()Get 显示方式:1为滚动,2为闪烁 | 
| Long | getDuration()Get 跑马灯文字移动/闪烁指定像素所需时间,范围:1-10;数值越小,跑马灯滚动/闪烁速度越快 | 
| String | getFontColor()Get 字体颜色(十六进制颜色值,例如:#00FF00(绿色)) | 
| Float | getFontOpacity()Get 字体透明度(数字,范围 0.0 到 1.0) | 
| Long | getFontSize()Get 字体大小(数字,像素单位,范围:10到24)。 | 
| Long | getFontWeight()Get 字体粗细:1为粗体,0为细体 | 
| Long | getMarqueeCount()Get 跑马灯个数:目前仅支持1或2, 对应显示单排或双排 | 
| Long | getMarqueeType()Get  跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId) | 
| Long | getRoomId()Get 房间号 | 
| Long | getSdkAppId()Get 学校ID | 
| void | setBackgroundColor(String BackgroundColor)Set 背景颜色(十六进制颜色值,例如:#FFFF00(黄色)) | 
| void | setBackgroundOpacity(Float BackgroundOpacity)Set 背景透明度(数字,范围 0.0 到 1.0) | 
| void | setContent(String Content)Set 固定值内容(当MarqueeType=1或5,则展示固定值内容) | 
| void | setDisplayMode(Long DisplayMode)Set 显示方式:1为滚动,2为闪烁 | 
| void | setDuration(Long Duration)Set 跑马灯文字移动/闪烁指定像素所需时间,范围:1-10;数值越小,跑马灯滚动/闪烁速度越快 | 
| void | setFontColor(String FontColor)Set 字体颜色(十六进制颜色值,例如:#00FF00(绿色)) | 
| void | setFontOpacity(Float FontOpacity)Set 字体透明度(数字,范围 0.0 到 1.0) | 
| void | setFontSize(Long FontSize)Set 字体大小(数字,像素单位,范围:10到24)。 | 
| void | setFontWeight(Long FontWeight)Set 字体粗细:1为粗体,0为细体 | 
| void | setMarqueeCount(Long MarqueeCount)Set 跑马灯个数:目前仅支持1或2, 对应显示单排或双排 | 
| void | setMarqueeType(Long MarqueeType)Set  跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId) | 
| void | setRoomId(Long RoomId)Set 房间号 | 
| void | setSdkAppId(Long SdkAppId)Set 学校ID | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic SetMarqueeRequest()
public SetMarqueeRequest(SetMarqueeRequest source)
public Long getSdkAppId()
public void setSdkAppId(Long SdkAppId)
SdkAppId - 学校IDpublic Long getRoomId()
public void setRoomId(Long RoomId)
RoomId - 房间号public Long getMarqueeType()
public void setMarqueeType(Long MarqueeType)
MarqueeType - 跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)public Long getDisplayMode()
public void setDisplayMode(Long DisplayMode)
DisplayMode - 显示方式:1为滚动,2为闪烁public String getContent()
public void setContent(String Content)
Content - 固定值内容(当MarqueeType=1或5,则展示固定值内容)public Long getFontSize()
public void setFontSize(Long FontSize)
FontSize - 字体大小(数字,像素单位,范围:10到24)。public Long getFontWeight()
public void setFontWeight(Long FontWeight)
FontWeight - 字体粗细:1为粗体,0为细体public String getFontColor()
public void setFontColor(String FontColor)
FontColor - 字体颜色(十六进制颜色值,例如:#00FF00(绿色))public Float getFontOpacity()
public void setFontOpacity(Float FontOpacity)
FontOpacity - 字体透明度(数字,范围 0.0 到 1.0)public String getBackgroundColor()
public void setBackgroundColor(String BackgroundColor)
BackgroundColor - 背景颜色(十六进制颜色值,例如:#FFFF00(黄色))public Float getBackgroundOpacity()
public void setBackgroundOpacity(Float BackgroundOpacity)
BackgroundOpacity - 背景透明度(数字,范围 0.0 到 1.0)public Long getDuration()
public void setDuration(Long Duration)
Duration - 跑马灯文字移动/闪烁指定像素所需时间,范围:1-10;数值越小,跑马灯滚动/闪烁速度越快public Long getMarqueeCount()
public void setMarqueeCount(Long MarqueeCount)
MarqueeCount - 跑马灯个数:目前仅支持1或2, 对应显示单排或双排Copyright © 2025. All rights reserved.