Class: TencentCloud::Lcic::V20220817::DescribeMarqueeResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20220817/models.rb

Overview

DescribeMarquee返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(marqueetype = nil, content = nil, fontsize = nil, fontweight = nil, fontcolor = nil, fontopacity = nil, backgroundcolor = nil, backgroundopacity = nil, displaymode = nil, duration = nil, marqueecount = nil, requestid = nil) ⇒ DescribeMarqueeResponse

Returns a new instance of DescribeMarqueeResponse.



2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
# File 'lib/v20220817/models.rb', line 2206

def initialize(marqueetype=nil, content=nil, fontsize=nil, fontweight=nil, fontcolor=nil, fontopacity=nil, backgroundcolor=nil, backgroundopacity=nil, displaymode=nil, duration=nil, marqueecount=nil, requestid=nil)
  @MarqueeType = marqueetype
  @Content = content
  @FontSize = fontsize
  @FontWeight = fontweight
  @FontColor = fontcolor
  @FontOpacity = fontopacity
  @BackgroundColor = backgroundcolor
  @BackgroundOpacity = backgroundopacity
  @DisplayMode = displaymode
  @Duration = duration
  @MarqueeCount = marqueecount
  @RequestId = requestid
end

Instance Attribute Details

#BackgroundColorObject

Parameters:

  • MarqueeType:

    跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)

  • Content:

    固定值内容(当MarqueeType=1或5,则展示固定值内容)

  • FontSize:

    字体大小(数字,像素单位,范围:10到24)

  • FontWeight:

    字体粗细:1为粗体,0为细体

  • FontColor:

    字体颜色(十六进制颜色值)

  • FontOpacity:

    字体透明度(数字,范围 0.0 到 1.0)

  • BackgroundColor:

    背景颜色(十六进制颜色值)

  • BackgroundOpacity:

    背景透明度(数字,范围 0.0 到 1.0)

  • DisplayMode:

    显示方式:1为滚动,2为闪烁

  • Duration:

    停留时长(秒,整数,范围 1~10)

  • MarqueeCount:

    跑马灯个数:目前仅支持1或2, 对应显示单排或双排

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2204
2205
2206
# File 'lib/v20220817/models.rb', line 2204

def BackgroundColor
  @BackgroundColor
end

#BackgroundOpacityObject

Parameters:

  • MarqueeType:

    跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)

  • Content:

    固定值内容(当MarqueeType=1或5,则展示固定值内容)

  • FontSize:

    字体大小(数字,像素单位,范围:10到24)

  • FontWeight:

    字体粗细:1为粗体,0为细体

  • FontColor:

    字体颜色(十六进制颜色值)

  • FontOpacity:

    字体透明度(数字,范围 0.0 到 1.0)

  • BackgroundColor:

    背景颜色(十六进制颜色值)

  • BackgroundOpacity:

    背景透明度(数字,范围 0.0 到 1.0)

  • DisplayMode:

    显示方式:1为滚动,2为闪烁

  • Duration:

    停留时长(秒,整数,范围 1~10)

  • MarqueeCount:

    跑马灯个数:目前仅支持1或2, 对应显示单排或双排

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2204
2205
2206
# File 'lib/v20220817/models.rb', line 2204

def BackgroundOpacity
  @BackgroundOpacity
end

#ContentObject

Parameters:

  • MarqueeType:

    跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)

  • Content:

    固定值内容(当MarqueeType=1或5,则展示固定值内容)

  • FontSize:

    字体大小(数字,像素单位,范围:10到24)

  • FontWeight:

    字体粗细:1为粗体,0为细体

  • FontColor:

    字体颜色(十六进制颜色值)

  • FontOpacity:

    字体透明度(数字,范围 0.0 到 1.0)

  • BackgroundColor:

    背景颜色(十六进制颜色值)

  • BackgroundOpacity:

    背景透明度(数字,范围 0.0 到 1.0)

  • DisplayMode:

    显示方式:1为滚动,2为闪烁

  • Duration:

    停留时长(秒,整数,范围 1~10)

  • MarqueeCount:

    跑马灯个数:目前仅支持1或2, 对应显示单排或双排

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2204
2205
2206
# File 'lib/v20220817/models.rb', line 2204

def Content
  @Content
end

#DisplayModeObject

Parameters:

  • MarqueeType:

    跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)

  • Content:

    固定值内容(当MarqueeType=1或5,则展示固定值内容)

  • FontSize:

    字体大小(数字,像素单位,范围:10到24)

  • FontWeight:

    字体粗细:1为粗体,0为细体

  • FontColor:

    字体颜色(十六进制颜色值)

  • FontOpacity:

    字体透明度(数字,范围 0.0 到 1.0)

  • BackgroundColor:

    背景颜色(十六进制颜色值)

  • BackgroundOpacity:

    背景透明度(数字,范围 0.0 到 1.0)

  • DisplayMode:

    显示方式:1为滚动,2为闪烁

  • Duration:

    停留时长(秒,整数,范围 1~10)

  • MarqueeCount:

    跑马灯个数:目前仅支持1或2, 对应显示单排或双排

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2204
2205
2206
# File 'lib/v20220817/models.rb', line 2204

def DisplayMode
  @DisplayMode
end

#DurationObject

Parameters:

  • MarqueeType:

    跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)

  • Content:

    固定值内容(当MarqueeType=1或5,则展示固定值内容)

  • FontSize:

    字体大小(数字,像素单位,范围:10到24)

  • FontWeight:

    字体粗细:1为粗体,0为细体

  • FontColor:

    字体颜色(十六进制颜色值)

  • FontOpacity:

    字体透明度(数字,范围 0.0 到 1.0)

  • BackgroundColor:

    背景颜色(十六进制颜色值)

  • BackgroundOpacity:

    背景透明度(数字,范围 0.0 到 1.0)

  • DisplayMode:

    显示方式:1为滚动,2为闪烁

  • Duration:

    停留时长(秒,整数,范围 1~10)

  • MarqueeCount:

    跑马灯个数:目前仅支持1或2, 对应显示单排或双排

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2204
2205
2206
# File 'lib/v20220817/models.rb', line 2204

def Duration
  @Duration
end

#FontColorObject

Parameters:

  • MarqueeType:

    跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)

  • Content:

    固定值内容(当MarqueeType=1或5,则展示固定值内容)

  • FontSize:

    字体大小(数字,像素单位,范围:10到24)

  • FontWeight:

    字体粗细:1为粗体,0为细体

  • FontColor:

    字体颜色(十六进制颜色值)

  • FontOpacity:

    字体透明度(数字,范围 0.0 到 1.0)

  • BackgroundColor:

    背景颜色(十六进制颜色值)

  • BackgroundOpacity:

    背景透明度(数字,范围 0.0 到 1.0)

  • DisplayMode:

    显示方式:1为滚动,2为闪烁

  • Duration:

    停留时长(秒,整数,范围 1~10)

  • MarqueeCount:

    跑马灯个数:目前仅支持1或2, 对应显示单排或双排

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2204
2205
2206
# File 'lib/v20220817/models.rb', line 2204

def FontColor
  @FontColor
end

#FontOpacityObject

Parameters:

  • MarqueeType:

    跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)

  • Content:

    固定值内容(当MarqueeType=1或5,则展示固定值内容)

  • FontSize:

    字体大小(数字,像素单位,范围:10到24)

  • FontWeight:

    字体粗细:1为粗体,0为细体

  • FontColor:

    字体颜色(十六进制颜色值)

  • FontOpacity:

    字体透明度(数字,范围 0.0 到 1.0)

  • BackgroundColor:

    背景颜色(十六进制颜色值)

  • BackgroundOpacity:

    背景透明度(数字,范围 0.0 到 1.0)

  • DisplayMode:

    显示方式:1为滚动,2为闪烁

  • Duration:

    停留时长(秒,整数,范围 1~10)

  • MarqueeCount:

    跑马灯个数:目前仅支持1或2, 对应显示单排或双排

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2204
2205
2206
# File 'lib/v20220817/models.rb', line 2204

def FontOpacity
  @FontOpacity
end

#FontSizeObject

Parameters:

  • MarqueeType:

    跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)

  • Content:

    固定值内容(当MarqueeType=1或5,则展示固定值内容)

  • FontSize:

    字体大小(数字,像素单位,范围:10到24)

  • FontWeight:

    字体粗细:1为粗体,0为细体

  • FontColor:

    字体颜色(十六进制颜色值)

  • FontOpacity:

    字体透明度(数字,范围 0.0 到 1.0)

  • BackgroundColor:

    背景颜色(十六进制颜色值)

  • BackgroundOpacity:

    背景透明度(数字,范围 0.0 到 1.0)

  • DisplayMode:

    显示方式:1为滚动,2为闪烁

  • Duration:

    停留时长(秒,整数,范围 1~10)

  • MarqueeCount:

    跑马灯个数:目前仅支持1或2, 对应显示单排或双排

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2204
2205
2206
# File 'lib/v20220817/models.rb', line 2204

def FontSize
  @FontSize
end

#FontWeightObject

Parameters:

  • MarqueeType:

    跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)

  • Content:

    固定值内容(当MarqueeType=1或5,则展示固定值内容)

  • FontSize:

    字体大小(数字,像素单位,范围:10到24)

  • FontWeight:

    字体粗细:1为粗体,0为细体

  • FontColor:

    字体颜色(十六进制颜色值)

  • FontOpacity:

    字体透明度(数字,范围 0.0 到 1.0)

  • BackgroundColor:

    背景颜色(十六进制颜色值)

  • BackgroundOpacity:

    背景透明度(数字,范围 0.0 到 1.0)

  • DisplayMode:

    显示方式:1为滚动,2为闪烁

  • Duration:

    停留时长(秒,整数,范围 1~10)

  • MarqueeCount:

    跑马灯个数:目前仅支持1或2, 对应显示单排或双排

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2204
2205
2206
# File 'lib/v20220817/models.rb', line 2204

def FontWeight
  @FontWeight
end

#MarqueeCountObject

Parameters:

  • MarqueeType:

    跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)

  • Content:

    固定值内容(当MarqueeType=1或5,则展示固定值内容)

  • FontSize:

    字体大小(数字,像素单位,范围:10到24)

  • FontWeight:

    字体粗细:1为粗体,0为细体

  • FontColor:

    字体颜色(十六进制颜色值)

  • FontOpacity:

    字体透明度(数字,范围 0.0 到 1.0)

  • BackgroundColor:

    背景颜色(十六进制颜色值)

  • BackgroundOpacity:

    背景透明度(数字,范围 0.0 到 1.0)

  • DisplayMode:

    显示方式:1为滚动,2为闪烁

  • Duration:

    停留时长(秒,整数,范围 1~10)

  • MarqueeCount:

    跑马灯个数:目前仅支持1或2, 对应显示单排或双排

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2204
2205
2206
# File 'lib/v20220817/models.rb', line 2204

def MarqueeCount
  @MarqueeCount
end

#MarqueeTypeObject

Parameters:

  • MarqueeType:

    跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)

  • Content:

    固定值内容(当MarqueeType=1或5,则展示固定值内容)

  • FontSize:

    字体大小(数字,像素单位,范围:10到24)

  • FontWeight:

    字体粗细:1为粗体,0为细体

  • FontColor:

    字体颜色(十六进制颜色值)

  • FontOpacity:

    字体透明度(数字,范围 0.0 到 1.0)

  • BackgroundColor:

    背景颜色(十六进制颜色值)

  • BackgroundOpacity:

    背景透明度(数字,范围 0.0 到 1.0)

  • DisplayMode:

    显示方式:1为滚动,2为闪烁

  • Duration:

    停留时长(秒,整数,范围 1~10)

  • MarqueeCount:

    跑马灯个数:目前仅支持1或2, 对应显示单排或双排

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2204
2205
2206
# File 'lib/v20220817/models.rb', line 2204

def MarqueeType
  @MarqueeType
end

#RequestIdObject

Parameters:

  • MarqueeType:

    跑马灯类型:1为固定值,2为用户昵称,3为固定值+用户昵称,4为用户ID,5为originId+固定值,6为用户昵称(originId)

  • Content:

    固定值内容(当MarqueeType=1或5,则展示固定值内容)

  • FontSize:

    字体大小(数字,像素单位,范围:10到24)

  • FontWeight:

    字体粗细:1为粗体,0为细体

  • FontColor:

    字体颜色(十六进制颜色值)

  • FontOpacity:

    字体透明度(数字,范围 0.0 到 1.0)

  • BackgroundColor:

    背景颜色(十六进制颜色值)

  • BackgroundOpacity:

    背景透明度(数字,范围 0.0 到 1.0)

  • DisplayMode:

    显示方式:1为滚动,2为闪烁

  • Duration:

    停留时长(秒,整数,范围 1~10)

  • MarqueeCount:

    跑马灯个数:目前仅支持1或2, 对应显示单排或双排

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2204
2205
2206
# File 'lib/v20220817/models.rb', line 2204

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
# File 'lib/v20220817/models.rb', line 2221

def deserialize(params)
  @MarqueeType = params['MarqueeType']
  @Content = params['Content']
  @FontSize = params['FontSize']
  @FontWeight = params['FontWeight']
  @FontColor = params['FontColor']
  @FontOpacity = params['FontOpacity']
  @BackgroundColor = params['BackgroundColor']
  @BackgroundOpacity = params['BackgroundOpacity']
  @DisplayMode = params['DisplayMode']
  @Duration = params['Duration']
  @MarqueeCount = params['MarqueeCount']
  @RequestId = params['RequestId']
end