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.
2722 2723 2724 2725 2726 |
# File 'lib/v20210820/models.rb', line 2722 def initialize(templatepolicyidlist=nil, templatepolicyrule=nil, templatepolicydealtype=nil) @TemplatePolicyIdList = templatepolicyidlist @TemplatePolicyRule = templatepolicyrule @TemplatePolicyDealType = templatepolicydealtype end |
Instance Attribute Details
#TemplatePolicyDealType ⇒ Object
2720 2721 2722 |
# File 'lib/v20210820/models.rb', line 2720 def TemplatePolicyDealType @TemplatePolicyDealType end |
#TemplatePolicyIdList ⇒ Object
2720 2721 2722 |
# File 'lib/v20210820/models.rb', line 2720 def TemplatePolicyIdList @TemplatePolicyIdList end |
#TemplatePolicyRule ⇒ Object
2720 2721 2722 |
# File 'lib/v20210820/models.rb', line 2720 def TemplatePolicyRule @TemplatePolicyRule end |
Instance Method Details
#deserialize(params) ⇒ Object
2728 2729 2730 2731 2732 |
# File 'lib/v20210820/models.rb', line 2728 def deserialize(params) @TemplatePolicyIdList = params['TemplatePolicyIdList'] @TemplatePolicyRule = params['TemplatePolicyRule'] @TemplatePolicyDealType = params['TemplatePolicyDealType'] end |