Class: TencentCloud::Dayu::V20180709::DescribeCCFrequencyRulesResponse

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

Overview

DescribeCCFrequencyRules返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ccfrequencyrulelist = nil, ccfrequencyrulestatus = nil, requestid = nil) ⇒ DescribeCCFrequencyRulesResponse

Returns a new instance of DescribeCCFrequencyRulesResponse.



2947
2948
2949
2950
2951
# File 'lib/v20180709/models.rb', line 2947

def initialize(ccfrequencyrulelist=nil, ccfrequencyrulestatus=nil, requestid=nil)
  @CCFrequencyRuleList = ccfrequencyrulelist
  @CCFrequencyRuleStatus = ccfrequencyrulestatus
  @RequestId = requestid
end

Instance Attribute Details

#CCFrequencyRuleListObject

Parameters:

  • CCFrequencyRuleList:

    访问频率控制规则列表

  • CCFrequencyRuleStatus:
  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



2945
2946
2947
# File 'lib/v20180709/models.rb', line 2945

def CCFrequencyRuleList
  @CCFrequencyRuleList
end

#CCFrequencyRuleStatusObject

Parameters:

  • CCFrequencyRuleList:

    访问频率控制规则列表

  • CCFrequencyRuleStatus:
  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



2945
2946
2947
# File 'lib/v20180709/models.rb', line 2945

def CCFrequencyRuleStatus
  @CCFrequencyRuleStatus
end

#RequestIdObject

Parameters:

  • CCFrequencyRuleList:

    访问频率控制规则列表

  • CCFrequencyRuleStatus:
  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



2945
2946
2947
# File 'lib/v20180709/models.rb', line 2945

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
# File 'lib/v20180709/models.rb', line 2953

def deserialize(params)
  unless params['CCFrequencyRuleList'].nil?
    @CCFrequencyRuleList = []
    params['CCFrequencyRuleList'].each do |i|
      ccfrequencyrule_tmp = CCFrequencyRule.new
      ccfrequencyrule_tmp.deserialize(i)
      @CCFrequencyRuleList << ccfrequencyrule_tmp
    end
  end
  @CCFrequencyRuleStatus = params['CCFrequencyRuleStatus']
  @RequestId = params['RequestId']
end