Class: TencentCloud::Cr::V20180321::DescribeRecordsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cr::V20180321::DescribeRecordsResponse
- Defined in:
- lib/v20180321/models.rb
Overview
DescribeRecords返回参数结构体
Instance Attribute Summary collapse
-
#RecordList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(recordlist = nil, totalcount = nil, requestid = nil) ⇒ DescribeRecordsResponse
constructor
A new instance of DescribeRecordsResponse.
Constructor Details
#initialize(recordlist = nil, totalcount = nil, requestid = nil) ⇒ DescribeRecordsResponse
Returns a new instance of DescribeRecordsResponse.
895 896 897 898 899 |
# File 'lib/v20180321/models.rb', line 895 def initialize(recordlist=nil, totalcount=nil, requestid=nil) @RecordList = recordlist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#RecordList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
893 894 895 |
# File 'lib/v20180321/models.rb', line 893 def RecordList @RecordList end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
893 894 895 |
# File 'lib/v20180321/models.rb', line 893 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
893 894 895 |
# File 'lib/v20180321/models.rb', line 893 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
901 902 903 904 905 906 907 908 909 910 911 912 |
# File 'lib/v20180321/models.rb', line 901 def deserialize(params) unless params['RecordList'].nil? @RecordList = [] params['RecordList'].each do |i| singlerecord_tmp = SingleRecord.new singlerecord_tmp.deserialize(i) @RecordList << singlerecord_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |