Class: TencentCloud::Live::V20180801::PlayCodeTotalInfo

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

Overview

各状态码的总次数,支持大多数的 HTTP 协议返回码。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code = nil, num = nil) ⇒ PlayCodeTotalInfo

Returns a new instance of PlayCodeTotalInfo.



13427
13428
13429
13430
# File 'lib/v20180801/models.rb', line 13427

def initialize(code=nil, num=nil)
  @Code = code
  @Num = num
end

Instance Attribute Details

#CodeObject

400,403,404,500,502,503,504。

Parameters:

  • Code:

    HTTP code,可选值包括:

  • Num:

    总次数。



13425
13426
13427
# File 'lib/v20180801/models.rb', line 13425

def Code
  @Code
end

#NumObject

400,403,404,500,502,503,504。

Parameters:

  • Code:

    HTTP code,可选值包括:

  • Num:

    总次数。



13425
13426
13427
# File 'lib/v20180801/models.rb', line 13425

def Num
  @Num
end

Instance Method Details

#deserialize(params) ⇒ Object



13432
13433
13434
13435
# File 'lib/v20180801/models.rb', line 13432

def deserialize(params)
  @Code = params['Code']
  @Num = params['Num']
end