Class: TencentCloud::Wav::V20210129::QueryMaterialListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wav::V20210129::QueryMaterialListResponse
- Defined in:
- lib/v20210129/models.rb
Overview
QueryMaterialList返回参数结构体
Instance Attribute Summary collapse
-
#NextCursor ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#PageData ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(nextcursor = nil, pagedata = nil, requestid = nil) ⇒ QueryMaterialListResponse
constructor
A new instance of QueryMaterialListResponse.
Constructor Details
#initialize(nextcursor = nil, pagedata = nil, requestid = nil) ⇒ QueryMaterialListResponse
Returns a new instance of QueryMaterialListResponse.
2970 2971 2972 2973 2974 |
# File 'lib/v20210129/models.rb', line 2970 def initialize(nextcursor=nil, pagedata=nil, requestid=nil) @NextCursor = nextcursor @PageData = pagedata @RequestId = requestid end |
Instance Attribute Details
#NextCursor ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2968 2969 2970 |
# File 'lib/v20210129/models.rb', line 2968 def NextCursor @NextCursor end |
#PageData ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2968 2969 2970 |
# File 'lib/v20210129/models.rb', line 2968 def PageData @PageData end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2968 2969 2970 |
# File 'lib/v20210129/models.rb', line 2968 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 |
# File 'lib/v20210129/models.rb', line 2976 def deserialize(params) @NextCursor = params['NextCursor'] unless params['PageData'].nil? @PageData = [] params['PageData'].each do |i| materialinfo_tmp = MaterialInfo.new materialinfo_tmp.deserialize(i) @PageData << materialinfo_tmp end end @RequestId = params['RequestId'] end |