Class: TencentCloud::Tione::V20211111::DeleteTrainingModelRequest

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

Overview

DeleteTrainingModel请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(trainingmodelid = nil, enabledeletecos = nil, modelversiontype = nil) ⇒ DeleteTrainingModelRequest

Returns a new instance of DeleteTrainingModelRequest.



2374
2375
2376
2377
2378
# File 'lib/v20211111/models.rb', line 2374

def initialize(trainingmodelid=nil, enabledeletecos=nil, modelversiontype=nil)
  @TrainingModelId = trainingmodelid
  @EnableDeleteCos = enabledeletecos
  @ModelVersionType = modelversiontype
end

Instance Attribute Details

#EnableDeleteCosObject

Parameters:

  • TrainingModelId:

    模型ID

  • EnableDeleteCos:

    是否同步清理cos

  • ModelVersionType:

    删除模型类型,枚举值:NORMAL 普通,ACCELERATE 加速,不传则删除所有



2372
2373
2374
# File 'lib/v20211111/models.rb', line 2372

def EnableDeleteCos
  @EnableDeleteCos
end

#ModelVersionTypeObject

Parameters:

  • TrainingModelId:

    模型ID

  • EnableDeleteCos:

    是否同步清理cos

  • ModelVersionType:

    删除模型类型,枚举值:NORMAL 普通,ACCELERATE 加速,不传则删除所有



2372
2373
2374
# File 'lib/v20211111/models.rb', line 2372

def ModelVersionType
  @ModelVersionType
end

#TrainingModelIdObject

Parameters:

  • TrainingModelId:

    模型ID

  • EnableDeleteCos:

    是否同步清理cos

  • ModelVersionType:

    删除模型类型,枚举值:NORMAL 普通,ACCELERATE 加速,不传则删除所有



2372
2373
2374
# File 'lib/v20211111/models.rb', line 2372

def TrainingModelId
  @TrainingModelId
end

Instance Method Details

#deserialize(params) ⇒ Object



2380
2381
2382
2383
2384
# File 'lib/v20211111/models.rb', line 2380

def deserialize(params)
  @TrainingModelId = params['TrainingModelId']
  @EnableDeleteCos = params['EnableDeleteCos']
  @ModelVersionType = params['ModelVersionType']
end