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.
14726 14727 14728 14729 |
# File 'lib/v20170320/models.rb', line 14726 def initialize(starttime=nil, endtime=nil) @StartTime = starttime @EndTime = endtime end |
Instance Attribute Details
#EndTime ⇒ Object
14724 14725 14726 |
# File 'lib/v20170320/models.rb', line 14724 def EndTime @EndTime end |
#StartTime ⇒ Object
14724 14725 14726 |
# File 'lib/v20170320/models.rb', line 14724 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
14731 14732 14733 14734 |
# File 'lib/v20170320/models.rb', line 14731 def deserialize(params) @StartTime = params['StartTime'] @EndTime = params['EndTime'] end |