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.
1915 1916 1917 1918 1919 1920 1921 1922 |
# File 'lib/v20250806/models.rb', line 1915 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
1913 1914 1915 |
# File 'lib/v20250806/models.rb', line 1913 def AccessScope @AccessScope end |
#ParentFolderPath ⇒ Object
1913 1914 1915 |
# File 'lib/v20250806/models.rb', line 1913 def ParentFolderPath @ParentFolderPath end |
#ProjectId ⇒ Object
1913 1914 1915 |
# File 'lib/v20250806/models.rb', line 1913 def ProjectId @ProjectId end |
#ScriptConfig ⇒ Object
1913 1914 1915 |
# File 'lib/v20250806/models.rb', line 1913 def ScriptConfig @ScriptConfig end |
#ScriptContent ⇒ Object
1913 1914 1915 |
# File 'lib/v20250806/models.rb', line 1913 def ScriptContent @ScriptContent end |
#ScriptName ⇒ Object
1913 1914 1915 |
# File 'lib/v20250806/models.rb', line 1913 def ScriptName @ScriptName end |
Instance Method Details
#deserialize(params) ⇒ Object
1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 |
# File 'lib/v20250806/models.rb', line 1924 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 |