Class: TencentCloud::Cdb::V20170320::TimeInterval
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::TimeInterval
- Defined in:
- lib/v20170320/models.rb
Overview
时间段
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(starttime = nil, endtime = nil) ⇒ TimeInterval
constructor
A new instance of TimeInterval.
Constructor Details
#initialize(starttime = nil, endtime = nil) ⇒ TimeInterval
Returns a new instance of TimeInterval.
14421 14422 14423 14424 |
# File 'lib/v20170320/models.rb', line 14421 def initialize(starttime=nil, endtime=nil) @StartTime = starttime @EndTime = endtime end |
Instance Attribute Details
#EndTime ⇒ Object
14419 14420 14421 |
# File 'lib/v20170320/models.rb', line 14419 def EndTime @EndTime end |
#StartTime ⇒ Object
14419 14420 14421 |
# File 'lib/v20170320/models.rb', line 14419 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
14426 14427 14428 14429 |
# File 'lib/v20170320/models.rb', line 14426 def deserialize(params) @StartTime = params['StartTime'] @EndTime = params['EndTime'] end |