Class: TencentCloud::Teo::V20220901::ErrorPageParameters
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::ErrorPageParameters
- Defined in:
- lib/v20220901/models.rb
Overview
自定义错误页面配置参数。
Instance Attribute Summary collapse
-
#ErrorPageParams ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(errorpageparams = nil) ⇒ ErrorPageParameters
constructor
A new instance of ErrorPageParameters.
Constructor Details
#initialize(errorpageparams = nil) ⇒ ErrorPageParameters
12553 12554 12555 |
# File 'lib/v20220901/models.rb', line 12553 def initialize(errorpageparams=nil) @ErrorPageParams = errorpageparams end |
Instance Attribute Details
#ErrorPageParams ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12551 12552 12553 |
# File 'lib/v20220901/models.rb', line 12551 def ErrorPageParams @ErrorPageParams end |
Instance Method Details
#deserialize(params) ⇒ Object
12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 |
# File 'lib/v20220901/models.rb', line 12557 def deserialize(params) unless params['ErrorPageParams'].nil? @ErrorPageParams = [] params['ErrorPageParams'].each do |i| errorpage_tmp = ErrorPage.new errorpage_tmp.deserialize(i) @ErrorPageParams << errorpage_tmp end end end |