Class: TencentCloud::Iotcloud::V20180614::ProductResourceInfo

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

Overview

产品资源详细信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productid = nil, productname = nil, name = nil, md5 = nil, size = nil, description = nil, createtime = nil) ⇒ ProductResourceInfo

Returns a new instance of ProductResourceInfo.



3638
3639
3640
3641
3642
3643
3644
3645
3646
# File 'lib/v20180614/models.rb', line 3638

def initialize(productid=nil, productname=nil, name=nil, md5=nil, size=nil, description=nil, createtime=nil)
  @ProductID = productid
  @ProductName = productname
  @Name = name
  @Md5 = md5
  @Size = size
  @Description = description
  @CreateTime = createtime
end

Instance Attribute Details

#CreateTimeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • Description:

    资源文件描述

  • CreateTime:

    资源创建时间



3636
3637
3638
# File 'lib/v20180614/models.rb', line 3636

def CreateTime
  @CreateTime
end

#DescriptionObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • Description:

    资源文件描述

  • CreateTime:

    资源创建时间



3636
3637
3638
# File 'lib/v20180614/models.rb', line 3636

def Description
  @Description
end

#Md5Object

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • Description:

    资源文件描述

  • CreateTime:

    资源创建时间



3636
3637
3638
# File 'lib/v20180614/models.rb', line 3636

def Md5
  @Md5
end

#NameObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • Description:

    资源文件描述

  • CreateTime:

    资源创建时间



3636
3637
3638
# File 'lib/v20180614/models.rb', line 3636

def Name
  @Name
end

#ProductIDObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • Description:

    资源文件描述

  • CreateTime:

    资源创建时间



3636
3637
3638
# File 'lib/v20180614/models.rb', line 3636

def ProductID
  @ProductID
end

#ProductNameObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • Description:

    资源文件描述

  • CreateTime:

    资源创建时间



3636
3637
3638
# File 'lib/v20180614/models.rb', line 3636

def ProductName
  @ProductName
end

#SizeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • Description:

    资源文件描述

  • CreateTime:

    资源创建时间



3636
3637
3638
# File 'lib/v20180614/models.rb', line 3636

def Size
  @Size
end

Instance Method Details

#deserialize(params) ⇒ Object



3648
3649
3650
3651
3652
3653
3654
3655
3656
# File 'lib/v20180614/models.rb', line 3648

def deserialize(params)
  @ProductID = params['ProductID']
  @ProductName = params['ProductName']
  @Name = params['Name']
  @Md5 = params['Md5']
  @Size = params['Size']
  @Description = params['Description']
  @CreateTime = params['CreateTime']
end