Class: TencentCloud::Scf::V20180416::TimeInterval
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::TimeInterval
- Defined in:
- lib/v20180416/models.rb
Overview
左闭右开时间区间,包括起始时间和结束时间,格式为"%Y-%m-%d %H:%M:%S"
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(start = nil, _end = nil) ⇒ TimeInterval
constructor
A new instance of TimeInterval.
Constructor Details
#initialize(start = nil, _end = nil) ⇒ TimeInterval
Returns a new instance of TimeInterval.
4628 4629 4630 4631 |
# File 'lib/v20180416/models.rb', line 4628 def initialize(start=nil, _end=nil) @Start = start @End = _end end |
Instance Attribute Details
#End ⇒ Object
4626 4627 4628 |
# File 'lib/v20180416/models.rb', line 4626 def End @End end |
#Start ⇒ Object
4626 4627 4628 |
# File 'lib/v20180416/models.rb', line 4626 def Start @Start end |
Instance Method Details
#deserialize(params) ⇒ Object
4633 4634 4635 4636 |
# File 'lib/v20180416/models.rb', line 4633 def deserialize(params) @Start = params['Start'] @End = params['End'] end |