Class: TencentCloud::Teo::V20220901::DescribeCustomErrorPagesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::DescribeCustomErrorPagesResponse
- Defined in:
- lib/v20220901/models.rb
Overview
DescribeCustomErrorPages返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, errorpages = nil, requestid = nil) ⇒ DescribeCustomErrorPagesResponse
constructor
A new instance of DescribeCustomErrorPagesResponse.
Constructor Details
#initialize(totalcount = nil, errorpages = nil, requestid = nil) ⇒ DescribeCustomErrorPagesResponse
Returns a new instance of DescribeCustomErrorPagesResponse.
8034 8035 8036 8037 8038 |
# File 'lib/v20220901/models.rb', line 8034 def initialize(totalcount=nil, errorpages=nil, requestid=nil) @TotalCount = totalcount @ErrorPages = errorpages @RequestId = requestid end |
Instance Attribute Details
#ErrorPages ⇒ Object
8032 8033 8034 |
# File 'lib/v20220901/models.rb', line 8032 def ErrorPages @ErrorPages end |
#RequestId ⇒ Object
8032 8033 8034 |
# File 'lib/v20220901/models.rb', line 8032 def RequestId @RequestId end |
#TotalCount ⇒ Object
8032 8033 8034 |
# File 'lib/v20220901/models.rb', line 8032 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 |
# File 'lib/v20220901/models.rb', line 8040 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ErrorPages'].nil? @ErrorPages = [] params['ErrorPages'].each do |i| customerrorpage_tmp = CustomErrorPage.new customerrorpage_tmp.deserialize(i) @ErrorPages << customerrorpage_tmp end end @RequestId = params['RequestId'] end |