Class: TencentCloud::Tiia::V20190529::UpdateImageRequest

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

Overview

UpdateImage请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(groupid = nil, entityid = nil, picname = nil, tags = nil) ⇒ UpdateImageRequest

Returns a new instance of UpdateImageRequest.



1998
1999
2000
2001
2002
2003
# File 'lib/v20190529/models.rb', line 1998

def initialize(groupid=nil, entityid=nil, picname=nil, tags=nil)
  @GroupId = groupid
  @EntityId = entityid
  @PicName = picname
  @Tags = tags
end

Instance Attribute Details

#EntityIdObject

Parameters:

  • GroupId:

    图库ID。

  • EntityId:

    物品ID,最多支持64个字符。

  • PicName:

    图片名称,最多支持64个字符。

  • Tags:

    新的自定义标签,最多不超过10个,格式为JSON。



1996
1997
1998
# File 'lib/v20190529/models.rb', line 1996

def EntityId
  @EntityId
end

#GroupIdObject

Parameters:

  • GroupId:

    图库ID。

  • EntityId:

    物品ID,最多支持64个字符。

  • PicName:

    图片名称,最多支持64个字符。

  • Tags:

    新的自定义标签,最多不超过10个,格式为JSON。



1996
1997
1998
# File 'lib/v20190529/models.rb', line 1996

def GroupId
  @GroupId
end

#PicNameObject

Parameters:

  • GroupId:

    图库ID。

  • EntityId:

    物品ID,最多支持64个字符。

  • PicName:

    图片名称,最多支持64个字符。

  • Tags:

    新的自定义标签,最多不超过10个,格式为JSON。



1996
1997
1998
# File 'lib/v20190529/models.rb', line 1996

def PicName
  @PicName
end

#TagsObject

Parameters:

  • GroupId:

    图库ID。

  • EntityId:

    物品ID,最多支持64个字符。

  • PicName:

    图片名称,最多支持64个字符。

  • Tags:

    新的自定义标签,最多不超过10个,格式为JSON。



1996
1997
1998
# File 'lib/v20190529/models.rb', line 1996

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



2005
2006
2007
2008
2009
2010
# File 'lib/v20190529/models.rb', line 2005

def deserialize(params)
  @GroupId = params['GroupId']
  @EntityId = params['EntityId']
  @PicName = params['PicName']
  @Tags = params['Tags']
end