Class: TencentCloud::Mna::V20210119::GetFlowPackagesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mna::V20210119::GetFlowPackagesResponse
- Defined in:
- lib/v20210119/models.rb
Overview
GetFlowPackages返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(packagelist = nil, total = nil, requestid = nil) ⇒ GetFlowPackagesResponse
constructor
A new instance of GetFlowPackagesResponse.
Constructor Details
#initialize(packagelist = nil, total = nil, requestid = nil) ⇒ GetFlowPackagesResponse
Returns a new instance of GetFlowPackagesResponse.
1200 1201 1202 1203 1204 |
# File 'lib/v20210119/models.rb', line 1200 def initialize(packagelist=nil, total=nil, requestid=nil) @PackageList = packagelist @Total = total @RequestId = requestid end |
Instance Attribute Details
#PackageList ⇒ Object
1198 1199 1200 |
# File 'lib/v20210119/models.rb', line 1198 def PackageList @PackageList end |
#RequestId ⇒ Object
1198 1199 1200 |
# File 'lib/v20210119/models.rb', line 1198 def RequestId @RequestId end |
#Total ⇒ Object
1198 1199 1200 |
# File 'lib/v20210119/models.rb', line 1198 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 |
# File 'lib/v20210119/models.rb', line 1206 def deserialize(params) unless params['PackageList'].nil? @PackageList = [] params['PackageList'].each do |i| flowpackageinfo_tmp = FlowPackageInfo.new flowpackageinfo_tmp.deserialize(i) @PackageList << flowpackageinfo_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |