Class: TencentCloud::Mrs::V20200910::ImageToClassRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mrs::V20200910::ImageToClassRequest
- Defined in:
- lib/v20200910/models.rb
Overview
ImageToClass请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(imageinfolist = nil, handleparam = nil, type = nil, usertype = nil) ⇒ ImageToClassRequest
constructor
A new instance of ImageToClassRequest.
Constructor Details
#initialize(imageinfolist = nil, handleparam = nil, type = nil, usertype = nil) ⇒ ImageToClassRequest
Returns a new instance of ImageToClassRequest.
5027 5028 5029 5030 5031 5032 |
# File 'lib/v20200910/models.rb', line 5027 def initialize(imageinfolist=nil, handleparam=nil, type=nil, usertype=nil) @ImageInfoList = imageinfolist @HandleParam = handleparam @Type = type @UserType = usertype end |
Instance Attribute Details
#HandleParam ⇒ Object
5025 5026 5027 |
# File 'lib/v20200910/models.rb', line 5025 def HandleParam @HandleParam end |
#ImageInfoList ⇒ Object
5025 5026 5027 |
# File 'lib/v20200910/models.rb', line 5025 def ImageInfoList @ImageInfoList end |
#Type ⇒ Object
5025 5026 5027 |
# File 'lib/v20200910/models.rb', line 5025 def Type @Type end |
#UserType ⇒ Object
5025 5026 5027 |
# File 'lib/v20200910/models.rb', line 5025 def UserType @UserType end |
Instance Method Details
#deserialize(params) ⇒ Object
5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 |
# File 'lib/v20200910/models.rb', line 5034 def deserialize(params) unless params['ImageInfoList'].nil? @ImageInfoList = [] params['ImageInfoList'].each do |i| imageinfo_tmp = ImageInfo.new imageinfo_tmp.deserialize(i) @ImageInfoList << imageinfo_tmp end end unless params['HandleParam'].nil? @HandleParam = HandleParam.new @HandleParam.deserialize(params['HandleParam']) end @Type = params['Type'] @UserType = params['UserType'] end |