Class: TencentCloud::Thpc::V20230321::ModifyInitNodeScriptsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::ModifyInitNodeScriptsRequest
- Defined in:
- lib/v20230321/models.rb
Overview
ModifyInitNodeScripts请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, initnodescripts = nil) ⇒ ModifyInitNodeScriptsRequest
constructor
A new instance of ModifyInitNodeScriptsRequest.
Constructor Details
#initialize(clusterid = nil, initnodescripts = nil) ⇒ ModifyInitNodeScriptsRequest
Returns a new instance of ModifyInitNodeScriptsRequest.
2101 2102 2103 2104 |
# File 'lib/v20230321/models.rb', line 2101 def initialize(clusterid=nil, initnodescripts=nil) @ClusterId = clusterid @InitNodeScripts = initnodescripts end |
Instance Attribute Details
#ClusterId ⇒ Object
2099 2100 2101 |
# File 'lib/v20230321/models.rb', line 2099 def ClusterId @ClusterId end |
#InitNodeScripts ⇒ Object
2099 2100 2101 |
# File 'lib/v20230321/models.rb', line 2099 def InitNodeScripts @InitNodeScripts end |
Instance Method Details
#deserialize(params) ⇒ Object
2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 |
# File 'lib/v20230321/models.rb', line 2106 def deserialize(params) @ClusterId = params['ClusterId'] unless params['InitNodeScripts'].nil? @InitNodeScripts = [] params['InitNodeScripts'].each do |i| nodescript_tmp = NodeScript.new nodescript_tmp.deserialize(i) @InitNodeScripts << nodescript_tmp end end end |