Class: TencentCloud::Iotcloud::V20210408::ProductResourceInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210408/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.



3707
3708
3709
3710
3711
3712
3713
3714
3715
# File 'lib/v20210408/models.rb', line 3707

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:

    资源创建时间



3705
3706
3707
# File 'lib/v20210408/models.rb', line 3705

def CreateTime
  @CreateTime
end

#DescriptionObject

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

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • Description:

    资源文件描述

  • CreateTime:

    资源创建时间



3705
3706
3707
# File 'lib/v20210408/models.rb', line 3705

def Description
  @Description
end

#Md5Object

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

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • Description:

    资源文件描述

  • CreateTime:

    资源创建时间



3705
3706
3707
# File 'lib/v20210408/models.rb', line 3705

def Md5
  @Md5
end

#NameObject

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

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • Description:

    资源文件描述

  • CreateTime:

    资源创建时间



3705
3706
3707
# File 'lib/v20210408/models.rb', line 3705

def Name
  @Name
end

#ProductIDObject

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

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • Description:

    资源文件描述

  • CreateTime:

    资源创建时间



3705
3706
3707
# File 'lib/v20210408/models.rb', line 3705

def ProductID
  @ProductID
end

#ProductNameObject

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

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • Description:

    资源文件描述

  • CreateTime:

    资源创建时间



3705
3706
3707
# File 'lib/v20210408/models.rb', line 3705

def ProductName
  @ProductName
end

#SizeObject

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

Parameters:

  • ProductID:

    产品ID

  • ProductName:

    产品名

  • Name:

    资源名称

  • Md5:

    资源文件md5

  • Size:

    资源文件大小

  • Description:

    资源文件描述

  • CreateTime:

    资源创建时间



3705
3706
3707
# File 'lib/v20210408/models.rb', line 3705

def Size
  @Size
end

Instance Method Details

#deserialize(params) ⇒ Object



3717
3718
3719
3720
3721
3722
3723
3724
3725
# File 'lib/v20210408/models.rb', line 3717

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