Class: TencentCloud::Solar::V20181011::DescribeProjectResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Solar::V20181011::DescribeProjectResponse
- Defined in:
- lib/v20181011/models.rb
Overview
DescribeProject返回参数结构体
Instance Attribute Summary collapse
-
#ProjectBudget ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ProjectId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ProjectIntroduction ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ProjectName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ProjectOrg ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ProjectOrgId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ProjectStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SubProjectList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(projectid = nil, projectname = nil, projectbudget = nil, projectorg = nil, projectintroduction = nil, subprojectlist = nil, projectstatus = nil, projectorgid = nil, requestid = nil) ⇒ DescribeProjectResponse
constructor
A new instance of DescribeProjectResponse.
Constructor Details
#initialize(projectid = nil, projectname = nil, projectbudget = nil, projectorg = nil, projectintroduction = nil, subprojectlist = nil, projectstatus = nil, projectorgid = nil, requestid = nil) ⇒ DescribeProjectResponse
Returns a new instance of DescribeProjectResponse.
691 692 693 694 695 696 697 698 699 700 701 |
# File 'lib/v20181011/models.rb', line 691 def initialize(projectid=nil, projectname=nil, projectbudget=nil, projectorg=nil, projectintroduction=nil, subprojectlist=nil, projectstatus=nil, projectorgid=nil, requestid=nil) @ProjectId = projectid @ProjectName = projectname @ProjectBudget = projectbudget @ProjectOrg = projectorg @ProjectIntroduction = projectintroduction @SubProjectList = subprojectlist @ProjectStatus = projectstatus @ProjectOrgId = projectorgid @RequestId = requestid end |
Instance Attribute Details
#ProjectBudget ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
689 690 691 |
# File 'lib/v20181011/models.rb', line 689 def ProjectBudget @ProjectBudget end |
#ProjectId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
689 690 691 |
# File 'lib/v20181011/models.rb', line 689 def ProjectId @ProjectId end |
#ProjectIntroduction ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
689 690 691 |
# File 'lib/v20181011/models.rb', line 689 def ProjectIntroduction @ProjectIntroduction end |
#ProjectName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
689 690 691 |
# File 'lib/v20181011/models.rb', line 689 def ProjectName @ProjectName end |
#ProjectOrg ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
689 690 691 |
# File 'lib/v20181011/models.rb', line 689 def ProjectOrg @ProjectOrg end |
#ProjectOrgId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
689 690 691 |
# File 'lib/v20181011/models.rb', line 689 def ProjectOrgId @ProjectOrgId end |
#ProjectStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
689 690 691 |
# File 'lib/v20181011/models.rb', line 689 def ProjectStatus @ProjectStatus end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
689 690 691 |
# File 'lib/v20181011/models.rb', line 689 def RequestId @RequestId end |
#SubProjectList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
689 690 691 |
# File 'lib/v20181011/models.rb', line 689 def SubProjectList @SubProjectList end |
Instance Method Details
#deserialize(params) ⇒ Object
703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 |
# File 'lib/v20181011/models.rb', line 703 def deserialize(params) @ProjectId = params['ProjectId'] @ProjectName = params['ProjectName'] @ProjectBudget = params['ProjectBudget'] @ProjectOrg = params['ProjectOrg'] @ProjectIntroduction = params['ProjectIntroduction'] unless params['SubProjectList'].nil? @SubProjectList = [] params['SubProjectList'].each do |i| subprojectinfo_tmp = SubProjectInfo.new subprojectinfo_tmp.deserialize(i) @SubProjectList << subprojectinfo_tmp end end @ProjectStatus = params['ProjectStatus'] @ProjectOrgId = params['ProjectOrgId'] @RequestId = params['RequestId'] end |