Class: TencentCloud::Cfg::V20210820::TemplatePolicy
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfg::V20210820::TemplatePolicy
- Defined in:
- lib/v20210820/models.rb
Overview
保护策略
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templatepolicyidlist = nil, templatepolicyrule = nil, templatepolicydealtype = nil) ⇒ TemplatePolicy
constructor
A new instance of TemplatePolicy.
Constructor Details
#initialize(templatepolicyidlist = nil, templatepolicyrule = nil, templatepolicydealtype = nil) ⇒ TemplatePolicy
Returns a new instance of TemplatePolicy.
2726 2727 2728 2729 2730 |
# File 'lib/v20210820/models.rb', line 2726 def initialize(templatepolicyidlist=nil, templatepolicyrule=nil, templatepolicydealtype=nil) @TemplatePolicyIdList = templatepolicyidlist @TemplatePolicyRule = templatepolicyrule @TemplatePolicyDealType = templatepolicydealtype end |
Instance Attribute Details
#TemplatePolicyDealType ⇒ Object
2724 2725 2726 |
# File 'lib/v20210820/models.rb', line 2724 def TemplatePolicyDealType @TemplatePolicyDealType end |
#TemplatePolicyIdList ⇒ Object
2724 2725 2726 |
# File 'lib/v20210820/models.rb', line 2724 def TemplatePolicyIdList @TemplatePolicyIdList end |
#TemplatePolicyRule ⇒ Object
2724 2725 2726 |
# File 'lib/v20210820/models.rb', line 2724 def TemplatePolicyRule @TemplatePolicyRule end |
Instance Method Details
#deserialize(params) ⇒ Object
2732 2733 2734 2735 2736 |
# File 'lib/v20210820/models.rb', line 2732 def deserialize(params) @TemplatePolicyIdList = params['TemplatePolicyIdList'] @TemplatePolicyRule = params['TemplatePolicyRule'] @TemplatePolicyDealType = params['TemplatePolicyDealType'] end |