Class: TencentCloud::Iotexplorer::V20190423::VideoLicenseEntity

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

Overview

视频设备激活码统计

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, totalcount = nil, usedcount = nil, expiressooncount = nil) ⇒ VideoLicenseEntity

Returns a new instance of VideoLicenseEntity.



14541
14542
14543
14544
14545
14546
# File 'lib/v20190423/models.rb', line 14541

def initialize(type=nil, totalcount=nil, usedcount=nil, expiressooncount=nil)
  @Type = type
  @TotalCount = totalcount
  @UsedCount = usedcount
  @ExpiresSoonCount = expiressooncount
end

Instance Attribute Details

#ExpiresSoonCountObject

Parameters:

  • Type:

    激活码类型,取值范围如下:0_5_mbps、1_mbps、1_5_mbps、2_mbps

  • TotalCount:

    有效激活码总数

  • UsedCount:

    待使用的激活码数量

  • ExpiresSoonCount:

    即将过期的激活码数量



14539
14540
14541
# File 'lib/v20190423/models.rb', line 14539

def ExpiresSoonCount
  @ExpiresSoonCount
end

#TotalCountObject

Parameters:

  • Type:

    激活码类型,取值范围如下:0_5_mbps、1_mbps、1_5_mbps、2_mbps

  • TotalCount:

    有效激活码总数

  • UsedCount:

    待使用的激活码数量

  • ExpiresSoonCount:

    即将过期的激活码数量



14539
14540
14541
# File 'lib/v20190423/models.rb', line 14539

def TotalCount
  @TotalCount
end

#TypeObject

Parameters:

  • Type:

    激活码类型,取值范围如下:0_5_mbps、1_mbps、1_5_mbps、2_mbps

  • TotalCount:

    有效激活码总数

  • UsedCount:

    待使用的激活码数量

  • ExpiresSoonCount:

    即将过期的激活码数量



14539
14540
14541
# File 'lib/v20190423/models.rb', line 14539

def Type
  @Type
end

#UsedCountObject

Parameters:

  • Type:

    激活码类型,取值范围如下:0_5_mbps、1_mbps、1_5_mbps、2_mbps

  • TotalCount:

    有效激活码总数

  • UsedCount:

    待使用的激活码数量

  • ExpiresSoonCount:

    即将过期的激活码数量



14539
14540
14541
# File 'lib/v20190423/models.rb', line 14539

def UsedCount
  @UsedCount
end

Instance Method Details

#deserialize(params) ⇒ Object



14548
14549
14550
14551
14552
14553
# File 'lib/v20190423/models.rb', line 14548

def deserialize(params)
  @Type = params['Type']
  @TotalCount = params['TotalCount']
  @UsedCount = params['UsedCount']
  @ExpiresSoonCount = params['ExpiresSoonCount']
end