Class: TencentCloud::Cfs::V20190719::ApplyPathLifecyclePolicyRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfs::V20190719::ApplyPathLifecyclePolicyRequest
- Defined in:
- lib/v20190719/models.rb
Overview
ApplyPathLifecyclePolicy请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(lifecyclepolicyid = nil, paths = nil) ⇒ ApplyPathLifecyclePolicyRequest
constructor
A new instance of ApplyPathLifecyclePolicyRequest.
Constructor Details
#initialize(lifecyclepolicyid = nil, paths = nil) ⇒ ApplyPathLifecyclePolicyRequest
Returns a new instance of ApplyPathLifecyclePolicyRequest.
29 30 31 32 |
# File 'lib/v20190719/models.rb', line 29 def initialize(lifecyclepolicyid=nil, paths=nil) @LifecyclePolicyID = lifecyclepolicyid @Paths = paths end |
Instance Attribute Details
#LifecyclePolicyID ⇒ Object
27 28 29 |
# File 'lib/v20190719/models.rb', line 27 def LifecyclePolicyID @LifecyclePolicyID end |
#Paths ⇒ Object
27 28 29 |
# File 'lib/v20190719/models.rb', line 27 def Paths @Paths end |
Instance Method Details
#deserialize(params) ⇒ Object
34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/v20190719/models.rb', line 34 def deserialize(params) @LifecyclePolicyID = params['LifecyclePolicyID'] unless params['Paths'].nil? @Paths = [] params['Paths'].each do |i| pathinfo_tmp = PathInfo.new pathinfo_tmp.deserialize(i) @Paths << pathinfo_tmp end end end |