Class: TencentCloud::Cfs::V20190719::LifecycleRule
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfs::V20190719::LifecycleRule
- Defined in:
- lib/v20190719/models.rb
Overview
生命周期管理策略关联的管理规则
Instance Attribute Summary collapse
-
#Action ⇒ Object
为空时,默认为false.
-
#ExpireThreshold ⇒ Object
为空时,默认为false.
-
#FileMaxSize ⇒ Object
为空时,默认为false.
-
#FileMinSize ⇒ Object
为空时,默认为false.
-
#FileType ⇒ Object
为空时,默认为false.
-
#Interval ⇒ Object
为空时,默认为false.
-
#IsOverwrite ⇒ Object
为空时,默认为false.
-
#PolicyType ⇒ Object
为空时,默认为false.
-
#StorageType ⇒ Object
为空时,默认为false.
-
#TargetThreshold ⇒ Object
为空时,默认为false.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(storagetype = nil, filetype = nil, action = nil, interval = nil, filemaxsize = nil, fileminsize = nil, policytype = nil, expirethreshold = nil, targetthreshold = nil, isoverwrite = nil) ⇒ LifecycleRule
constructor
A new instance of LifecycleRule.
Constructor Details
#initialize(storagetype = nil, filetype = nil, action = nil, interval = nil, filemaxsize = nil, fileminsize = nil, policytype = nil, expirethreshold = nil, targetthreshold = nil, isoverwrite = nil) ⇒ LifecycleRule
Returns a new instance of LifecycleRule.
3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 |
# File 'lib/v20190719/models.rb', line 3083 def initialize(storagetype=nil, filetype=nil, action=nil, interval=nil, filemaxsize=nil, fileminsize=nil, policytype=nil, expirethreshold=nil, targetthreshold=nil, isoverwrite=nil) @StorageType = storagetype @FileType = filetype @Action = action @Interval = interval @FileMaxSize = filemaxsize @FileMinSize = fileminsize @PolicyType = policytype @ExpireThreshold = expirethreshold @TargetThreshold = targetthreshold @IsOverwrite = isoverwrite end |
Instance Attribute Details
#Action ⇒ Object
为空时,默认为false
3081 3082 3083 |
# File 'lib/v20190719/models.rb', line 3081 def Action @Action end |
#ExpireThreshold ⇒ Object
为空时,默认为false
3081 3082 3083 |
# File 'lib/v20190719/models.rb', line 3081 def ExpireThreshold @ExpireThreshold end |
#FileMaxSize ⇒ Object
为空时,默认为false
3081 3082 3083 |
# File 'lib/v20190719/models.rb', line 3081 def FileMaxSize @FileMaxSize end |
#FileMinSize ⇒ Object
为空时,默认为false
3081 3082 3083 |
# File 'lib/v20190719/models.rb', line 3081 def FileMinSize @FileMinSize end |
#FileType ⇒ Object
为空时,默认为false
3081 3082 3083 |
# File 'lib/v20190719/models.rb', line 3081 def FileType @FileType end |
#Interval ⇒ Object
为空时,默认为false
3081 3082 3083 |
# File 'lib/v20190719/models.rb', line 3081 def Interval @Interval end |
#IsOverwrite ⇒ Object
为空时,默认为false
3081 3082 3083 |
# File 'lib/v20190719/models.rb', line 3081 def IsOverwrite @IsOverwrite end |
#PolicyType ⇒ Object
为空时,默认为false
3081 3082 3083 |
# File 'lib/v20190719/models.rb', line 3081 def PolicyType @PolicyType end |
#StorageType ⇒ Object
为空时,默认为false
3081 3082 3083 |
# File 'lib/v20190719/models.rb', line 3081 def StorageType @StorageType end |
#TargetThreshold ⇒ Object
为空时,默认为false
3081 3082 3083 |
# File 'lib/v20190719/models.rb', line 3081 def TargetThreshold @TargetThreshold end |
Instance Method Details
#deserialize(params) ⇒ Object
3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 |
# File 'lib/v20190719/models.rb', line 3096 def deserialize(params) @StorageType = params['StorageType'] @FileType = params['FileType'] @Action = params['Action'] @Interval = params['Interval'] @FileMaxSize = params['FileMaxSize'] @FileMinSize = params['FileMinSize'] @PolicyType = params['PolicyType'] @ExpireThreshold = params['ExpireThreshold'] @TargetThreshold = params['TargetThreshold'] @IsOverwrite = params['IsOverwrite'] end |