Class: TencentCloud::Tem::V20201221::DeployStrategyConf
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20201221::DeployStrategyConf
- Defined in:
- lib/v20201221/models.rb
Overview
分批发布策略配置
Instance Attribute Summary collapse
- #BatchInterval ⇒ Object
- #BetaBatchNum ⇒ Object
- #DeployStrategyType ⇒ Object
- #TotalBatchCount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalbatchcount = nil, betabatchnum = nil, deploystrategytype = nil, batchinterval = nil) ⇒ DeployStrategyConf
constructor
A new instance of DeployStrategyConf.
Constructor Details
#initialize(totalbatchcount = nil, betabatchnum = nil, deploystrategytype = nil, batchinterval = nil) ⇒ DeployStrategyConf
Returns a new instance of DeployStrategyConf.
659 660 661 662 663 664 |
# File 'lib/v20201221/models.rb', line 659 def initialize(totalbatchcount=nil, betabatchnum=nil, deploystrategytype=nil, batchinterval=nil) @TotalBatchCount = totalbatchcount @BetaBatchNum = betabatchnum @DeployStrategyType = deploystrategytype @BatchInterval = batchinterval end |
Instance Attribute Details
#BatchInterval ⇒ Object
657 658 659 |
# File 'lib/v20201221/models.rb', line 657 def BatchInterval @BatchInterval end |
#BetaBatchNum ⇒ Object
657 658 659 |
# File 'lib/v20201221/models.rb', line 657 def BetaBatchNum @BetaBatchNum end |
#DeployStrategyType ⇒ Object
657 658 659 |
# File 'lib/v20201221/models.rb', line 657 def DeployStrategyType @DeployStrategyType end |
#TotalBatchCount ⇒ Object
657 658 659 |
# File 'lib/v20201221/models.rb', line 657 def TotalBatchCount @TotalBatchCount end |
Instance Method Details
#deserialize(params) ⇒ Object
666 667 668 669 670 671 |
# File 'lib/v20201221/models.rb', line 666 def deserialize(params) @TotalBatchCount = params['TotalBatchCount'] @BetaBatchNum = params['BetaBatchNum'] @DeployStrategyType = params['DeployStrategyType'] @BatchInterval = params['BatchInterval'] end |