Class: TencentCloud::Teo::V20220901::ErrorPageParameters

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

Overview

自定义错误页面配置参数。

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ErrorPageParamsObject

注意:此字段可能返回 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