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.



2363
2364
2365
2366
2367
# File 'lib/v20211111/models.rb', line 2363

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 加速,不传则删除所有



2361
2362
2363
# File 'lib/v20211111/models.rb', line 2361

def EnableDeleteCos
  @EnableDeleteCos
end

#ModelVersionTypeObject

Parameters:

  • TrainingModelId:

    模型ID

  • EnableDeleteCos:

    是否同步清理cos

  • ModelVersionType:

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



2361
2362
2363
# File 'lib/v20211111/models.rb', line 2361

def ModelVersionType
  @ModelVersionType
end

#TrainingModelIdObject

Parameters:

  • TrainingModelId:

    模型ID

  • EnableDeleteCos:

    是否同步清理cos

  • ModelVersionType:

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



2361
2362
2363
# File 'lib/v20211111/models.rb', line 2361

def TrainingModelId
  @TrainingModelId
end

Instance Method Details

#deserialize(params) ⇒ Object



2369
2370
2371
2372
2373
# File 'lib/v20211111/models.rb', line 2369

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