Class: TencentCloud::Live::V20180801::HttpCodeInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::HttpCodeInfo
- Defined in:
- lib/v20180801/models.rb
Overview
HTTP返回码和统计数据
Instance Attribute Summary collapse
-
#HttpCode ⇒ Object
例:“2xx”, “3xx”, “4xx”, “5xx”。.
-
#ValueList ⇒ Object
例:“2xx”, “3xx”, “4xx”, “5xx”。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(httpcode = nil, valuelist = nil) ⇒ HttpCodeInfo
constructor
A new instance of HttpCodeInfo.
Constructor Details
#initialize(httpcode = nil, valuelist = nil) ⇒ HttpCodeInfo
Returns a new instance of HttpCodeInfo.
11156 11157 11158 11159 |
# File 'lib/v20180801/models.rb', line 11156 def initialize(httpcode=nil, valuelist=nil) @HttpCode = httpcode @ValueList = valuelist end |
Instance Attribute Details
#HttpCode ⇒ Object
例:“2xx”, “3xx”, “4xx”, “5xx”。
11154 11155 11156 |
# File 'lib/v20180801/models.rb', line 11154 def HttpCode @HttpCode end |
#ValueList ⇒ Object
例:“2xx”, “3xx”, “4xx”, “5xx”。
11154 11155 11156 |
# File 'lib/v20180801/models.rb', line 11154 def ValueList @ValueList end |
Instance Method Details
#deserialize(params) ⇒ Object
11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 |
# File 'lib/v20180801/models.rb', line 11161 def deserialize(params) @HttpCode = params['HttpCode'] unless params['ValueList'].nil? @ValueList = [] params['ValueList'].each do |i| httpcodevalue_tmp = HttpCodeValue.new httpcodevalue_tmp.deserialize(i) @ValueList << httpcodevalue_tmp end end end |