Class: TencentCloud::Keewidb::V20220308::DescribeInstanceParamRecordsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Keewidb::V20220308::DescribeInstanceParamRecordsResponse
- Defined in:
- lib/v20220308/models.rb
Overview
DescribeInstanceParamRecords返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, instanceparamhistory = nil, requestid = nil) ⇒ DescribeInstanceParamRecordsResponse
constructor
A new instance of DescribeInstanceParamRecordsResponse.
Constructor Details
#initialize(totalcount = nil, instanceparamhistory = nil, requestid = nil) ⇒ DescribeInstanceParamRecordsResponse
Returns a new instance of DescribeInstanceParamRecordsResponse.
924 925 926 927 928 |
# File 'lib/v20220308/models.rb', line 924 def initialize(totalcount=nil, instanceparamhistory=nil, requestid=nil) @TotalCount = totalcount @InstanceParamHistory = instanceparamhistory @RequestId = requestid end |
Instance Attribute Details
#InstanceParamHistory ⇒ Object
922 923 924 |
# File 'lib/v20220308/models.rb', line 922 def InstanceParamHistory @InstanceParamHistory end |
#RequestId ⇒ Object
922 923 924 |
# File 'lib/v20220308/models.rb', line 922 def RequestId @RequestId end |
#TotalCount ⇒ Object
922 923 924 |
# File 'lib/v20220308/models.rb', line 922 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
930 931 932 933 934 935 936 937 938 939 940 941 |
# File 'lib/v20220308/models.rb', line 930 def deserialize(params) @TotalCount = params['TotalCount'] unless params['InstanceParamHistory'].nil? @InstanceParamHistory = [] params['InstanceParamHistory'].each do |i| instanceparamhistory_tmp = InstanceParamHistory.new instanceparamhistory_tmp.deserialize(i) @InstanceParamHistory << instanceparamhistory_tmp end end @RequestId = params['RequestId'] end |