Class: TencentCloud::Ms::V20180408::PlanDetailInfo

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

Overview

加固策略具体信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(isdefault = nil, planid = nil, planname = nil, planinfo = nil) ⇒ PlanDetailInfo

Returns a new instance of PlanDetailInfo.



2255
2256
2257
2258
2259
2260
# File 'lib/v20180408/models.rb', line 2255

def initialize(isdefault=nil, planid=nil, planname=nil, planinfo=nil)
  @IsDefault = isdefault
  @PlanId = planid
  @PlanName = planname
  @PlanInfo = planinfo
end

Instance Attribute Details

#IsDefaultObject

Parameters:

  • IsDefault:

    默认策略,1为默认,0为非默认

  • PlanId:

    策略id

  • PlanName:

    策略名称

  • PlanInfo:

    策略信息



2253
2254
2255
# File 'lib/v20180408/models.rb', line 2253

def IsDefault
  @IsDefault
end

#PlanIdObject

Parameters:

  • IsDefault:

    默认策略,1为默认,0为非默认

  • PlanId:

    策略id

  • PlanName:

    策略名称

  • PlanInfo:

    策略信息



2253
2254
2255
# File 'lib/v20180408/models.rb', line 2253

def PlanId
  @PlanId
end

#PlanInfoObject

Parameters:

  • IsDefault:

    默认策略,1为默认,0为非默认

  • PlanId:

    策略id

  • PlanName:

    策略名称

  • PlanInfo:

    策略信息



2253
2254
2255
# File 'lib/v20180408/models.rb', line 2253

def PlanInfo
  @PlanInfo
end

#PlanNameObject

Parameters:

  • IsDefault:

    默认策略,1为默认,0为非默认

  • PlanId:

    策略id

  • PlanName:

    策略名称

  • PlanInfo:

    策略信息



2253
2254
2255
# File 'lib/v20180408/models.rb', line 2253

def PlanName
  @PlanName
end

Instance Method Details

#deserialize(params) ⇒ Object



2262
2263
2264
2265
2266
2267
2268
2269
2270
# File 'lib/v20180408/models.rb', line 2262

def deserialize(params)
  @IsDefault = params['IsDefault']
  @PlanId = params['PlanId']
  @PlanName = params['PlanName']
  unless params['PlanInfo'].nil?
    @PlanInfo = PlanInfo.new
    @PlanInfo.deserialize(params['PlanInfo'])
  end
end