Class: TencentCloud::Mrs::V20200910::ImageInfo

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

Overview

图片信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, url = nil, base64 = nil) ⇒ ImageInfo

Returns a new instance of ImageInfo.



4836
4837
4838
4839
4840
# File 'lib/v20200910/models.rb', line 4836

def initialize(id=nil, url=nil, base64=nil)
  @Id = id
  @Url = url
  @Base64 = base64
end

Instance Attribute Details

#Base64Object

Parameters:

  • Id:

    图片id

  • Url:

    图片url(暂不支持传图片Url信息,请使用Base64字段传递图片的Base64编码)

  • Base64:

    图片base64编码



4834
4835
4836
# File 'lib/v20200910/models.rb', line 4834

def Base64
  @Base64
end

#IdObject

Parameters:

  • Id:

    图片id

  • Url:

    图片url(暂不支持传图片Url信息,请使用Base64字段传递图片的Base64编码)

  • Base64:

    图片base64编码



4834
4835
4836
# File 'lib/v20200910/models.rb', line 4834

def Id
  @Id
end

#UrlObject

Parameters:

  • Id:

    图片id

  • Url:

    图片url(暂不支持传图片Url信息,请使用Base64字段传递图片的Base64编码)

  • Base64:

    图片base64编码



4834
4835
4836
# File 'lib/v20200910/models.rb', line 4834

def Url
  @Url
end

Instance Method Details

#deserialize(params) ⇒ Object



4842
4843
4844
4845
4846
# File 'lib/v20200910/models.rb', line 4842

def deserialize(params)
  @Id = params['Id']
  @Url = params['Url']
  @Base64 = params['Base64']
end