Class: TencentCloud::Iotexplorer::V20190423::GetProjectListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::GetProjectListResponse
- Defined in:
- lib/v20190423/models.rb
Overview
GetProjectList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(projects = nil, total = nil, requestid = nil) ⇒ GetProjectListResponse
constructor
A new instance of GetProjectListResponse.
Constructor Details
#initialize(projects = nil, total = nil, requestid = nil) ⇒ GetProjectListResponse
Returns a new instance of GetProjectListResponse.
8913 8914 8915 8916 8917 |
# File 'lib/v20190423/models.rb', line 8913 def initialize(projects=nil, total=nil, requestid=nil) @Projects = projects @Total = total @RequestId = requestid end |
Instance Attribute Details
#Projects ⇒ Object
8911 8912 8913 |
# File 'lib/v20190423/models.rb', line 8911 def Projects @Projects end |
#RequestId ⇒ Object
8911 8912 8913 |
# File 'lib/v20190423/models.rb', line 8911 def RequestId @RequestId end |
#Total ⇒ Object
8911 8912 8913 |
# File 'lib/v20190423/models.rb', line 8911 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 |
# File 'lib/v20190423/models.rb', line 8919 def deserialize(params) unless params['Projects'].nil? @Projects = [] params['Projects'].each do |i| projectentryex_tmp = ProjectEntryEx.new projectentryex_tmp.deserialize(i) @Projects << projectentryex_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |