Class: TencentCloud::Ms::V20180408::ShieldPlanInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ms::V20180408::ShieldPlanInfo
- Defined in:
- lib/v20180408/models.rb
Overview
加固策略信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, planset = nil) ⇒ ShieldPlanInfo
constructor
A new instance of ShieldPlanInfo.
Constructor Details
#initialize(totalcount = nil, planset = nil) ⇒ ShieldPlanInfo
Returns a new instance of ShieldPlanInfo.
2783 2784 2785 2786 |
# File 'lib/v20180408/models.rb', line 2783 def initialize(totalcount=nil, planset=nil) @TotalCount = totalcount @PlanSet = planset end |
Instance Attribute Details
#PlanSet ⇒ Object
2781 2782 2783 |
# File 'lib/v20180408/models.rb', line 2781 def PlanSet @PlanSet end |
#TotalCount ⇒ Object
2781 2782 2783 |
# File 'lib/v20180408/models.rb', line 2781 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 |
# File 'lib/v20180408/models.rb', line 2788 def deserialize(params) @TotalCount = params['TotalCount'] unless params['PlanSet'].nil? @PlanSet = [] params['PlanSet'].each do |i| plandetailinfo_tmp = PlanDetailInfo.new plandetailinfo_tmp.deserialize(i) @PlanSet << plandetailinfo_tmp end end end |