Class: TencentCloud::Cfs::V20190719::UpdateAutoSnapshotPolicyRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfs::V20190719::UpdateAutoSnapshotPolicyRequest
- Defined in:
- lib/v20190719/models.rb
Overview
UpdateAutoSnapshotPolicy请求参数结构体
Instance Attribute Summary collapse
- #AliveDays ⇒ Object
- #AutoSnapshotPolicyId ⇒ Object
- #DayOfMonth ⇒ Object
- #DayOfWeek ⇒ Object
- #Hour ⇒ Object
- #IntervalDays ⇒ Object
- #IsActivated ⇒ Object
- #PolicyName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(autosnapshotpolicyid = nil, policyname = nil, dayofweek = nil, hour = nil, alivedays = nil, isactivated = nil, dayofmonth = nil, intervaldays = nil) ⇒ UpdateAutoSnapshotPolicyRequest
constructor
A new instance of UpdateAutoSnapshotPolicyRequest.
Constructor Details
#initialize(autosnapshotpolicyid = nil, policyname = nil, dayofweek = nil, hour = nil, alivedays = nil, isactivated = nil, dayofmonth = nil, intervaldays = nil) ⇒ UpdateAutoSnapshotPolicyRequest
Returns a new instance of UpdateAutoSnapshotPolicyRequest.
4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 |
# File 'lib/v20190719/models.rb', line 4031 def initialize(autosnapshotpolicyid=nil, policyname=nil, dayofweek=nil, hour=nil, alivedays=nil, isactivated=nil, dayofmonth=nil, intervaldays=nil) @AutoSnapshotPolicyId = autosnapshotpolicyid @PolicyName = policyname @DayOfWeek = dayofweek @Hour = hour @AliveDays = alivedays @IsActivated = isactivated @DayOfMonth = dayofmonth @IntervalDays = intervaldays end |
Instance Attribute Details
#AliveDays ⇒ Object
4029 4030 4031 |
# File 'lib/v20190719/models.rb', line 4029 def AliveDays @AliveDays end |
#AutoSnapshotPolicyId ⇒ Object
4029 4030 4031 |
# File 'lib/v20190719/models.rb', line 4029 def AutoSnapshotPolicyId @AutoSnapshotPolicyId end |
#DayOfMonth ⇒ Object
4029 4030 4031 |
# File 'lib/v20190719/models.rb', line 4029 def DayOfMonth @DayOfMonth end |
#DayOfWeek ⇒ Object
4029 4030 4031 |
# File 'lib/v20190719/models.rb', line 4029 def DayOfWeek @DayOfWeek end |
#Hour ⇒ Object
4029 4030 4031 |
# File 'lib/v20190719/models.rb', line 4029 def Hour @Hour end |
#IntervalDays ⇒ Object
4029 4030 4031 |
# File 'lib/v20190719/models.rb', line 4029 def IntervalDays @IntervalDays end |
#IsActivated ⇒ Object
4029 4030 4031 |
# File 'lib/v20190719/models.rb', line 4029 def IsActivated @IsActivated end |
#PolicyName ⇒ Object
4029 4030 4031 |
# File 'lib/v20190719/models.rb', line 4029 def PolicyName @PolicyName end |
Instance Method Details
#deserialize(params) ⇒ Object
4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 |
# File 'lib/v20190719/models.rb', line 4042 def deserialize(params) @AutoSnapshotPolicyId = params['AutoSnapshotPolicyId'] @PolicyName = params['PolicyName'] @DayOfWeek = params['DayOfWeek'] @Hour = params['Hour'] @AliveDays = params['AliveDays'] @IsActivated = params['IsActivated'] @DayOfMonth = params['DayOfMonth'] @IntervalDays = params['IntervalDays'] end |