Class: TencentCloud::Clb::V20180317::DescribeRewriteResponse

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

Overview

DescribeRewrite返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(rewriteset = nil, requestid = nil) ⇒ DescribeRewriteResponse



3923
3924
3925
3926
# File 'lib/v20180317/models.rb', line 3923

def initialize(rewriteset=nil, requestid=nil)
  @RewriteSet = rewriteset
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject



3921
3922
3923
# File 'lib/v20180317/models.rb', line 3921

def RequestId
  @RequestId
end

#RewriteSetObject



3921
3922
3923
# File 'lib/v20180317/models.rb', line 3921

def RewriteSet
  @RewriteSet
end

Instance Method Details

#deserialize(params) ⇒ Object



3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
# File 'lib/v20180317/models.rb', line 3928

def deserialize(params)
  unless params['RewriteSet'].nil?
    @RewriteSet = []
    params['RewriteSet'].each do |i|
      ruleoutput_tmp = RuleOutput.new
      ruleoutput_tmp.deserialize(i)
      @RewriteSet << ruleoutput_tmp
    end
  end
  @RequestId = params['RequestId']
end