Class: TencentCloud::Oceanus::V20190422::TreeResourceItem

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

Overview

树状结构资源对象

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resourceid = nil, name = nil, resourcetype = nil, remark = nil, filename = nil, folderid = nil, refjobstatuscountset = nil) ⇒ TreeResourceItem

Returns a new instance of TreeResourceItem.



5961
5962
5963
5964
5965
5966
5967
5968
5969
# File 'lib/v20190422/models.rb', line 5961

def initialize(resourceid=nil, name=nil, resourcetype=nil, remark=nil, filename=nil, folderid=nil, refjobstatuscountset=nil)
  @ResourceId = resourceid
  @Name = name
  @ResourceType = resourcetype
  @Remark = remark
  @FileName = filename
  @FolderId = folderid
  @RefJobStatusCountSet = refjobstatuscountset
end

Instance Attribute Details

#FileNameObject

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

Parameters:

  • ResourceId:

    资源ID

  • Name:

    资源名称

  • ResourceType:

    资源类型

  • Remark:

    备注

  • FileName:

    文件名

  • FolderId:

    目录ID

  • RefJobStatusCountSet:

    分状态统计关联作业数



5959
5960
5961
# File 'lib/v20190422/models.rb', line 5959

def FileName
  @FileName
end

#FolderIdObject

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

Parameters:

  • ResourceId:

    资源ID

  • Name:

    资源名称

  • ResourceType:

    资源类型

  • Remark:

    备注

  • FileName:

    文件名

  • FolderId:

    目录ID

  • RefJobStatusCountSet:

    分状态统计关联作业数



5959
5960
5961
# File 'lib/v20190422/models.rb', line 5959

def FolderId
  @FolderId
end

#NameObject

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

Parameters:

  • ResourceId:

    资源ID

  • Name:

    资源名称

  • ResourceType:

    资源类型

  • Remark:

    备注

  • FileName:

    文件名

  • FolderId:

    目录ID

  • RefJobStatusCountSet:

    分状态统计关联作业数



5959
5960
5961
# File 'lib/v20190422/models.rb', line 5959

def Name
  @Name
end

#RefJobStatusCountSetObject

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

Parameters:

  • ResourceId:

    资源ID

  • Name:

    资源名称

  • ResourceType:

    资源类型

  • Remark:

    备注

  • FileName:

    文件名

  • FolderId:

    目录ID

  • RefJobStatusCountSet:

    分状态统计关联作业数



5959
5960
5961
# File 'lib/v20190422/models.rb', line 5959

def RefJobStatusCountSet
  @RefJobStatusCountSet
end

#RemarkObject

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

Parameters:

  • ResourceId:

    资源ID

  • Name:

    资源名称

  • ResourceType:

    资源类型

  • Remark:

    备注

  • FileName:

    文件名

  • FolderId:

    目录ID

  • RefJobStatusCountSet:

    分状态统计关联作业数



5959
5960
5961
# File 'lib/v20190422/models.rb', line 5959

def Remark
  @Remark
end

#ResourceIdObject

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

Parameters:

  • ResourceId:

    资源ID

  • Name:

    资源名称

  • ResourceType:

    资源类型

  • Remark:

    备注

  • FileName:

    文件名

  • FolderId:

    目录ID

  • RefJobStatusCountSet:

    分状态统计关联作业数



5959
5960
5961
# File 'lib/v20190422/models.rb', line 5959

def ResourceId
  @ResourceId
end

#ResourceTypeObject

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

Parameters:

  • ResourceId:

    资源ID

  • Name:

    资源名称

  • ResourceType:

    资源类型

  • Remark:

    备注

  • FileName:

    文件名

  • FolderId:

    目录ID

  • RefJobStatusCountSet:

    分状态统计关联作业数



5959
5960
5961
# File 'lib/v20190422/models.rb', line 5959

def ResourceType
  @ResourceType
end

Instance Method Details

#deserialize(params) ⇒ Object



5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
# File 'lib/v20190422/models.rb', line 5971

def deserialize(params)
  @ResourceId = params['ResourceId']
  @Name = params['Name']
  @ResourceType = params['ResourceType']
  @Remark = params['Remark']
  @FileName = params['FileName']
  @FolderId = params['FolderId']
  unless params['RefJobStatusCountSet'].nil?
    @RefJobStatusCountSet = []
    params['RefJobStatusCountSet'].each do |i|
      refjobstatuscountitem_tmp = RefJobStatusCountItem.new
      refjobstatuscountitem_tmp.deserialize(i)
      @RefJobStatusCountSet << refjobstatuscountitem_tmp
    end
  end
end