Class: TencentCloud::Mrs::V20200910::Time
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::Time
- Defined in:
- lib/v20200910/models.rb
Overview
时间
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, value = nil) ⇒ Time
constructor
A new instance of Time.
Constructor Details
#initialize(name = nil, value = nil) ⇒ Time
Returns a new instance of Time.
10583 10584 10585 10586 |
# File 'lib/v20200910/models.rb', line 10583 def initialize(name=nil, value=nil) @Name = name @Value = value end |
Instance Attribute Details
#Name ⇒ Object
10581 10582 10583 |
# File 'lib/v20200910/models.rb', line 10581 def Name @Name end |
#Value ⇒ Object
10581 10582 10583 |
# File 'lib/v20200910/models.rb', line 10581 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
10588 10589 10590 10591 |
# File 'lib/v20200910/models.rb', line 10588 def deserialize(params) @Name = params['Name'] @Value = params['Value'] end |