Class: TencentCloud::Ssl::V20191205::VODInstanceList

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

Overview

vod实例详情 - 异步关联云资源数据结构

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instancelist = nil, totalcount = nil, error = nil) ⇒ VODInstanceList

Returns a new instance of VODInstanceList.



8875
8876
8877
8878
8879
# File 'lib/v20191205/models.rb', line 8875

def initialize(instancelist=nil, totalcount=nil, error=nil)
  @InstanceList = instancelist
  @TotalCount = totalcount
  @Error = error
end

Instance Attribute Details

#ErrorObject

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

Parameters:

  • InstanceList:

    vod实例详情

  • TotalCount:

    该地域下vod实例总数

  • Error:

    是否查询异常



8873
8874
8875
# File 'lib/v20191205/models.rb', line 8873

def Error
  @Error
end

#InstanceListObject

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

Parameters:

  • InstanceList:

    vod实例详情

  • TotalCount:

    该地域下vod实例总数

  • Error:

    是否查询异常



8873
8874
8875
# File 'lib/v20191205/models.rb', line 8873

def InstanceList
  @InstanceList
end

#TotalCountObject

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

Parameters:

  • InstanceList:

    vod实例详情

  • TotalCount:

    该地域下vod实例总数

  • Error:

    是否查询异常



8873
8874
8875
# File 'lib/v20191205/models.rb', line 8873

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
# File 'lib/v20191205/models.rb', line 8881

def deserialize(params)
  unless params['InstanceList'].nil?
    @InstanceList = []
    params['InstanceList'].each do |i|
      vodinstancedetail_tmp = VodInstanceDetail.new
      vodinstancedetail_tmp.deserialize(i)
      @InstanceList << vodinstancedetail_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @Error = params['Error']
end