Class: TencentCloud::Cdb::V20170320::AddTimeWindowRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::AddTimeWindowRequest
- Defined in:
- lib/v20170320/models.rb
Overview
AddTimeWindow请求参数结构体
Instance Attribute Summary collapse
- #Friday ⇒ Object
- #InstanceId ⇒ Object
- #MaxDelayTime ⇒ Object
- #Monday ⇒ Object
- #Saturday ⇒ Object
- #Sunday ⇒ Object
- #Thursday ⇒ Object
- #Tuesday ⇒ Object
- #Wednesday ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, monday = nil, tuesday = nil, wednesday = nil, thursday = nil, friday = nil, saturday = nil, sunday = nil, maxdelaytime = nil) ⇒ AddTimeWindowRequest
constructor
A new instance of AddTimeWindowRequest.
Constructor Details
#initialize(instanceid = nil, monday = nil, tuesday = nil, wednesday = nil, thursday = nil, friday = nil, saturday = nil, sunday = nil, maxdelaytime = nil) ⇒ AddTimeWindowRequest
Returns a new instance of AddTimeWindowRequest.
113 114 115 116 117 118 119 120 121 122 123 |
# File 'lib/v20170320/models.rb', line 113 def initialize(instanceid=nil, monday=nil, tuesday=nil, wednesday=nil, thursday=nil, friday=nil, saturday=nil, sunday=nil, maxdelaytime=nil) @InstanceId = instanceid @Monday = monday @Tuesday = tuesday @Wednesday = wednesday @Thursday = thursday @Friday = friday @Saturday = saturday @Sunday = sunday @MaxDelayTime = maxdelaytime end |
Instance Attribute Details
#Friday ⇒ Object
111 112 113 |
# File 'lib/v20170320/models.rb', line 111 def Friday @Friday end |
#InstanceId ⇒ Object
111 112 113 |
# File 'lib/v20170320/models.rb', line 111 def InstanceId @InstanceId end |
#MaxDelayTime ⇒ Object
111 112 113 |
# File 'lib/v20170320/models.rb', line 111 def MaxDelayTime @MaxDelayTime end |
#Monday ⇒ Object
111 112 113 |
# File 'lib/v20170320/models.rb', line 111 def Monday @Monday end |
#Saturday ⇒ Object
111 112 113 |
# File 'lib/v20170320/models.rb', line 111 def Saturday @Saturday end |
#Sunday ⇒ Object
111 112 113 |
# File 'lib/v20170320/models.rb', line 111 def Sunday @Sunday end |
#Thursday ⇒ Object
111 112 113 |
# File 'lib/v20170320/models.rb', line 111 def Thursday @Thursday end |
#Tuesday ⇒ Object
111 112 113 |
# File 'lib/v20170320/models.rb', line 111 def Tuesday @Tuesday end |
#Wednesday ⇒ Object
111 112 113 |
# File 'lib/v20170320/models.rb', line 111 def Wednesday @Wednesday end |
Instance Method Details
#deserialize(params) ⇒ Object
125 126 127 128 129 130 131 132 133 134 135 |
# File 'lib/v20170320/models.rb', line 125 def deserialize(params) @InstanceId = params['InstanceId'] @Monday = params['Monday'] @Tuesday = params['Tuesday'] @Wednesday = params['Wednesday'] @Thursday = params['Thursday'] @Friday = params['Friday'] @Saturday = params['Saturday'] @Sunday = params['Sunday'] @MaxDelayTime = params['MaxDelayTime'] end |