Class: TencentCloud::Wedata::V20250806::UpdateCodeFileRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20250806/models.rb

Overview

UpdateCodeFile请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(projectid = nil, codefileid = nil, codefileconfig = nil, codefilecontent = nil) ⇒ UpdateCodeFileRequest



12989
12990
12991
12992
12993
12994
# File 'lib/v20250806/models.rb', line 12989

def initialize(projectid=nil, codefileid=nil, codefileconfig=nil, codefilecontent=nil)
  @ProjectId = projectid
  @CodeFileId = codefileid
  @CodeFileConfig = codefileconfig
  @CodeFileContent = codefilecontent
end

Instance Attribute Details

#CodeFileConfigObject



12987
12988
12989
# File 'lib/v20250806/models.rb', line 12987

def CodeFileConfig
  @CodeFileConfig
end

#CodeFileContentObject



12987
12988
12989
# File 'lib/v20250806/models.rb', line 12987

def CodeFileContent
  @CodeFileContent
end

#CodeFileIdObject



12987
12988
12989
# File 'lib/v20250806/models.rb', line 12987

def CodeFileId
  @CodeFileId
end

#ProjectIdObject



12987
12988
12989
# File 'lib/v20250806/models.rb', line 12987

def ProjectId
  @ProjectId
end

Instance Method Details

#deserialize(params) ⇒ Object



12996
12997
12998
12999
13000
13001
13002
13003
13004
# File 'lib/v20250806/models.rb', line 12996

def deserialize(params)
  @ProjectId = params['ProjectId']
  @CodeFileId = params['CodeFileId']
  unless params['CodeFileConfig'].nil?
    @CodeFileConfig = CodeFileConfig.new
    @CodeFileConfig.deserialize(params['CodeFileConfig'])
  end
  @CodeFileContent = params['CodeFileContent']
end