Class: TencentCloud::Cdn::V20180606::DescribeScdnIpStrategyResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribeScdnIpStrategyResponse
- Defined in:
- lib/v20180606/models.rb
Overview
DescribeScdnIpStrategy返回参数结构体
Instance Attribute Summary collapse
-
#IpStrategyList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ipstrategylist = nil, totalcount = nil, requestid = nil) ⇒ DescribeScdnIpStrategyResponse
constructor
A new instance of DescribeScdnIpStrategyResponse.
Constructor Details
#initialize(ipstrategylist = nil, totalcount = nil, requestid = nil) ⇒ DescribeScdnIpStrategyResponse
Returns a new instance of DescribeScdnIpStrategyResponse.
5838 5839 5840 5841 5842 |
# File 'lib/v20180606/models.rb', line 5838 def initialize(ipstrategylist=nil, totalcount=nil, requestid=nil) @IpStrategyList = ipstrategylist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#IpStrategyList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5836 5837 5838 |
# File 'lib/v20180606/models.rb', line 5836 def IpStrategyList @IpStrategyList end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5836 5837 5838 |
# File 'lib/v20180606/models.rb', line 5836 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5836 5837 5838 |
# File 'lib/v20180606/models.rb', line 5836 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 |
# File 'lib/v20180606/models.rb', line 5844 def deserialize(params) unless params['IpStrategyList'].nil? @IpStrategyList = [] params['IpStrategyList'].each do |i| scdnipstrategy_tmp = ScdnIpStrategy.new scdnipstrategy_tmp.deserialize(i) @IpStrategyList << scdnipstrategy_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |