Class: TencentCloud::Wedata::V20250806::CreateSQLScriptRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20250806::CreateSQLScriptRequest
- Defined in:
- lib/v20250806/models.rb
Overview
CreateSQLScript请求参数结构体
Instance Attribute Summary collapse
- #AccessScope ⇒ Object
- #ParentFolderPath ⇒ Object
- #ProjectId ⇒ Object
- #ScriptConfig ⇒ Object
- #ScriptContent ⇒ Object
- #ScriptName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(scriptname = nil, projectid = nil, parentfolderpath = nil, scriptconfig = nil, scriptcontent = nil, accessscope = nil) ⇒ CreateSQLScriptRequest
constructor
A new instance of CreateSQLScriptRequest.
Constructor Details
#initialize(scriptname = nil, projectid = nil, parentfolderpath = nil, scriptconfig = nil, scriptcontent = nil, accessscope = nil) ⇒ CreateSQLScriptRequest
Returns a new instance of CreateSQLScriptRequest.
1234 1235 1236 1237 1238 1239 1240 1241 |
# File 'lib/v20250806/models.rb', line 1234 def initialize(scriptname=nil, projectid=nil, parentfolderpath=nil, scriptconfig=nil, scriptcontent=nil, accessscope=nil) @ScriptName = scriptname @ProjectId = projectid @ParentFolderPath = parentfolderpath @ScriptConfig = scriptconfig @ScriptContent = scriptcontent @AccessScope = accessscope end |
Instance Attribute Details
#AccessScope ⇒ Object
1232 1233 1234 |
# File 'lib/v20250806/models.rb', line 1232 def AccessScope @AccessScope end |
#ParentFolderPath ⇒ Object
1232 1233 1234 |
# File 'lib/v20250806/models.rb', line 1232 def ParentFolderPath @ParentFolderPath end |
#ProjectId ⇒ Object
1232 1233 1234 |
# File 'lib/v20250806/models.rb', line 1232 def ProjectId @ProjectId end |
#ScriptConfig ⇒ Object
1232 1233 1234 |
# File 'lib/v20250806/models.rb', line 1232 def ScriptConfig @ScriptConfig end |
#ScriptContent ⇒ Object
1232 1233 1234 |
# File 'lib/v20250806/models.rb', line 1232 def ScriptContent @ScriptContent end |
#ScriptName ⇒ Object
1232 1233 1234 |
# File 'lib/v20250806/models.rb', line 1232 def ScriptName @ScriptName end |
Instance Method Details
#deserialize(params) ⇒ Object
1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 |
# File 'lib/v20250806/models.rb', line 1243 def deserialize(params) @ScriptName = params['ScriptName'] @ProjectId = params['ProjectId'] @ParentFolderPath = params['ParentFolderPath'] unless params['ScriptConfig'].nil? @ScriptConfig = SQLScriptConfig.new @ScriptConfig.deserialize(params['ScriptConfig']) end @ScriptContent = params['ScriptContent'] @AccessScope = params['AccessScope'] end |