Class: TencentCloud::Cfs::V20190719::ApplyPathLifecyclePolicyRequest

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

Overview

ApplyPathLifecyclePolicy请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#LifecyclePolicyIDObject

Parameters:

  • LifecyclePolicyID:

    生命周期管理策略ID

  • Paths:

    生命周期管理策略关联目录的绝对路径列表



27
28
29
# File 'lib/v20190719/models.rb', line 27

def LifecyclePolicyID
  @LifecyclePolicyID
end

#PathsObject

Parameters:

  • LifecyclePolicyID:

    生命周期管理策略ID

  • Paths:

    生命周期管理策略关联目录的绝对路径列表



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