Class: TencentCloud::Scf::V20180416::TimeInterval

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180416/models.rb

Overview

左闭右开时间区间,包括起始时间和结束时间,格式为"%Y-%m-%d %H:%M:%S"

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Parameters:

  • Start: —

    起始时间(包括在内),格式"%Y-%m-%d %H:%M:%S"

  • End: —

    结束时间(不包括在内),格式"%Y-%m-%d %H:%M:%S"



4626
4627
4628
# File 'lib/v20180416/models.rb', line 4626

def End
  @End
end

#Start ⇒ Object

Parameters:

  • Start: —

    起始时间(包括在内),格式"%Y-%m-%d %H:%M:%S"

  • End: —

    结束时间(不包括在内),格式"%Y-%m-%d %H:%M:%S"



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