Class: TencentCloud::Mrs::V20200910::Time

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

Overview

时间

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#NameObject

Parameters:

  • Name:

    具体时间类型

  • Value:

    时间值



10581
10582
10583
# File 'lib/v20200910/models.rb', line 10581

def Name
  @Name
end

#ValueObject

Parameters:

  • Name:

    具体时间类型

  • Value:

    时间值



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