Class: TencentCloud::Tione::V20211111::DescribeModelServiceHotUpdatedRequest

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

Overview

DescribeModelServiceHotUpdated请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(imageinfo = nil, modelinfo = nil, volumemount = nil) ⇒ DescribeModelServiceHotUpdatedRequest

Returns a new instance of DescribeModelServiceHotUpdatedRequest.



3633
3634
3635
3636
3637
# File 'lib/v20211111/models.rb', line 3633

def initialize(imageinfo=nil, modelinfo=nil, volumemount=nil)
  @ImageInfo = imageinfo
  @ModelInfo = modelinfo
  @VolumeMount = volumemount
end

Instance Attribute Details

#ImageInfoObject

Parameters:

  • ImageInfo:

    镜像信息,配置服务运行所需的镜像地址等信息

  • ModelInfo:

    模型信息,需要挂载模型时填写

  • VolumeMount:

    挂载信息



3631
3632
3633
# File 'lib/v20211111/models.rb', line 3631

def ImageInfo
  @ImageInfo
end

#ModelInfoObject

Parameters:

  • ImageInfo:

    镜像信息,配置服务运行所需的镜像地址等信息

  • ModelInfo:

    模型信息,需要挂载模型时填写

  • VolumeMount:

    挂载信息



3631
3632
3633
# File 'lib/v20211111/models.rb', line 3631

def ModelInfo
  @ModelInfo
end

#VolumeMountObject

Parameters:

  • ImageInfo:

    镜像信息,配置服务运行所需的镜像地址等信息

  • ModelInfo:

    模型信息,需要挂载模型时填写

  • VolumeMount:

    挂载信息



3631
3632
3633
# File 'lib/v20211111/models.rb', line 3631

def VolumeMount
  @VolumeMount
end

Instance Method Details

#deserialize(params) ⇒ Object



3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
# File 'lib/v20211111/models.rb', line 3639

def deserialize(params)
  unless params['ImageInfo'].nil?
    @ImageInfo = ImageInfo.new
    @ImageInfo.deserialize(params['ImageInfo'])
  end
  unless params['ModelInfo'].nil?
    @ModelInfo = ModelInfo.new
    @ModelInfo.deserialize(params['ModelInfo'])
  end
  unless params['VolumeMount'].nil?
    @VolumeMount = VolumeMount.new
    @VolumeMount.deserialize(params['VolumeMount'])
  end
end