Class: TencentCloud::Wedata::V20250806::CreateCodeFileRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20250806::CreateCodeFileRequest
- Defined in:
- lib/v20250806/models.rb
Overview
CreateCodeFile请求参数结构体
Instance Attribute Summary collapse
- #CodeFileConfig ⇒ Object
- #CodeFileContent ⇒ Object
- #CodeFileName ⇒ Object
- #ParentFolderPath ⇒ Object
- #ProjectId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(projectid = nil, codefilename = nil, parentfolderpath = nil, codefileconfig = nil, codefilecontent = nil) ⇒ CreateCodeFileRequest
constructor
A new instance of CreateCodeFileRequest.
Constructor Details
#initialize(projectid = nil, codefilename = nil, parentfolderpath = nil, codefileconfig = nil, codefilecontent = nil) ⇒ CreateCodeFileRequest
Returns a new instance of CreateCodeFileRequest.
712 713 714 715 716 717 718 |
# File 'lib/v20250806/models.rb', line 712 def initialize(projectid=nil, codefilename=nil, parentfolderpath=nil, codefileconfig=nil, codefilecontent=nil) @ProjectId = projectid @CodeFileName = codefilename @ParentFolderPath = parentfolderpath @CodeFileConfig = codefileconfig @CodeFileContent = codefilecontent end |
Instance Attribute Details
#CodeFileConfig ⇒ Object
710 711 712 |
# File 'lib/v20250806/models.rb', line 710 def CodeFileConfig @CodeFileConfig end |
#CodeFileContent ⇒ Object
710 711 712 |
# File 'lib/v20250806/models.rb', line 710 def CodeFileContent @CodeFileContent end |
#CodeFileName ⇒ Object
710 711 712 |
# File 'lib/v20250806/models.rb', line 710 def CodeFileName @CodeFileName end |
#ParentFolderPath ⇒ Object
710 711 712 |
# File 'lib/v20250806/models.rb', line 710 def ParentFolderPath @ParentFolderPath end |
#ProjectId ⇒ Object
710 711 712 |
# File 'lib/v20250806/models.rb', line 710 def ProjectId @ProjectId end |
Instance Method Details
#deserialize(params) ⇒ Object
720 721 722 723 724 725 726 727 728 729 |
# File 'lib/v20250806/models.rb', line 720 def deserialize(params) @ProjectId = params['ProjectId'] @CodeFileName = params['CodeFileName'] @ParentFolderPath = params['ParentFolderPath'] unless params['CodeFileConfig'].nil? @CodeFileConfig = CodeFileConfig.new @CodeFileConfig.deserialize(params['CodeFileConfig']) end @CodeFileContent = params['CodeFileContent'] end |