Class: TencentCloud::Live::V20180801::HttpCodeValue

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(time = nil, numbers = nil, percentage = nil) ⇒ HttpCodeValue

Returns a new instance of HttpCodeValue.



11188
11189
11190
11191
11192
# File 'lib/v20180801/models.rb', line 11188

def initialize(time=nil, numbers=nil, percentage=nil)
  @Time = time
  @Numbers = numbers
  @Percentage = percentage
end

Instance Attribute Details

#NumbersObject

使用UTC格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/266/11732#I)。

Parameters:

  • Time:

    时间,

  • Numbers:

    次数。

  • Percentage:

    占比。



11186
11187
11188
# File 'lib/v20180801/models.rb', line 11186

def Numbers
  @Numbers
end

#PercentageObject

使用UTC格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/266/11732#I)。

Parameters:

  • Time:

    时间,

  • Numbers:

    次数。

  • Percentage:

    占比。



11186
11187
11188
# File 'lib/v20180801/models.rb', line 11186

def Percentage
  @Percentage
end

#TimeObject

使用UTC格式时间,例如:2019-01-08T10:00:00Z。注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见 [ISO 日期格式说明](cloud.tencent.com/document/product/266/11732#I)。

Parameters:

  • Time:

    时间,

  • Numbers:

    次数。

  • Percentage:

    占比。



11186
11187
11188
# File 'lib/v20180801/models.rb', line 11186

def Time
  @Time
end

Instance Method Details

#deserialize(params) ⇒ Object



11194
11195
11196
11197
11198
# File 'lib/v20180801/models.rb', line 11194

def deserialize(params)
  @Time = params['Time']
  @Numbers = params['Numbers']
  @Percentage = params['Percentage']
end