Class: TencentCloud::Es::V20180416::OperationDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Es::V20180416::OperationDetail
- Defined in:
- lib/v20180416/models.rb
Overview
操作详情
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(oldinfo = nil, newinfo = nil) ⇒ OperationDetail
constructor
A new instance of OperationDetail.
Constructor Details
#initialize(oldinfo = nil, newinfo = nil) ⇒ OperationDetail
Returns a new instance of OperationDetail.
5837 5838 5839 5840 |
# File 'lib/v20180416/models.rb', line 5837 def initialize(oldinfo=nil, newinfo=nil) @OldInfo = oldinfo @NewInfo = newinfo end |
Instance Attribute Details
#NewInfo ⇒ Object
5835 5836 5837 |
# File 'lib/v20180416/models.rb', line 5835 def NewInfo @NewInfo end |
#OldInfo ⇒ Object
5835 5836 5837 |
# File 'lib/v20180416/models.rb', line 5835 def OldInfo @OldInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 |
# File 'lib/v20180416/models.rb', line 5842 def deserialize(params) unless params['OldInfo'].nil? @OldInfo = [] params['OldInfo'].each do |i| keyvalue_tmp = KeyValue.new keyvalue_tmp.deserialize(i) @OldInfo << keyvalue_tmp end end unless params['NewInfo'].nil? @NewInfo = [] params['NewInfo'].each do |i| keyvalue_tmp = KeyValue.new keyvalue_tmp.deserialize(i) @NewInfo << keyvalue_tmp end end end |