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.



3644
3645
3646
3647
3648
# File 'lib/v20211111/models.rb', line 3644

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

Instance Attribute Details

#ImageInfoObject

Parameters:

  • ImageInfo:

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

  • ModelInfo:

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

  • VolumeMount:

    挂载信息



3642
3643
3644
# File 'lib/v20211111/models.rb', line 3642

def ImageInfo
  @ImageInfo
end

#ModelInfoObject

Parameters:

  • ImageInfo:

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

  • ModelInfo:

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

  • VolumeMount:

    挂载信息



3642
3643
3644
# File 'lib/v20211111/models.rb', line 3642

def ModelInfo
  @ModelInfo
end

#VolumeMountObject

Parameters:

  • ImageInfo:

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

  • ModelInfo:

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

  • VolumeMount:

    挂载信息



3642
3643
3644
# File 'lib/v20211111/models.rb', line 3642

def VolumeMount
  @VolumeMount
end

Instance Method Details

#deserialize(params) ⇒ Object



3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
# File 'lib/v20211111/models.rb', line 3650

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