Class: TencentCloud::Cwp::V20180228::MachineLicenseDetail

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

Overview

机器绑定授权信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(quuid = nil, paymode = nil, resourceid = nil, licensetype = nil, sourcetype = nil, inquirekey = nil, autorenewflag = nil, deadline = nil, buytime = nil, licensecnt = nil) ⇒ MachineLicenseDetail

Returns a new instance of MachineLicenseDetail.



31546
31547
31548
31549
31550
31551
31552
31553
31554
31555
31556
31557
# File 'lib/v20180228/models.rb', line 31546

def initialize(quuid=nil, paymode=nil, resourceid=nil, licensetype=nil, sourcetype=nil, inquirekey=nil, autorenewflag=nil, deadline=nil, buytime=nil, licensecnt=nil)
  @Quuid = quuid
  @PayMode = paymode
  @ResourceId = resourceid
  @LicenseType = licensetype
  @SourceType = sourcetype
  @InquireKey = inquirekey
  @AutoRenewFlag = autorenewflag
  @Deadline = deadline
  @BuyTime = buytime
  @LicenseCnt = licensecnt
end

Instance Attribute Details

#AutoRenewFlagObject

Parameters:

  • Quuid:

    主机quuid

  • PayMode:

    计费模式, 0 按量计费 , 1 预付费

  • ResourceId:

    资源ID

  • LicenseType:

    授权类型

  • SourceType:

    订单类型,0 默认计费订单 1 试用订单, 2 赠送 3 体验

  • InquireKey:

    废弃字段,

  • AutoRenewFlag:

    自动续费标识 0 默认不自动付费, 1 自动付费 2 手动设置不续费

  • Deadline:

    到期时间,按量付费该值为空

  • BuyTime:

    购买时间

  • LicenseCnt:

    授权数量



31544
31545
31546
# File 'lib/v20180228/models.rb', line 31544

def AutoRenewFlag
  @AutoRenewFlag
end

#BuyTimeObject

Parameters:

  • Quuid:

    主机quuid

  • PayMode:

    计费模式, 0 按量计费 , 1 预付费

  • ResourceId:

    资源ID

  • LicenseType:

    授权类型

  • SourceType:

    订单类型,0 默认计费订单 1 试用订单, 2 赠送 3 体验

  • InquireKey:

    废弃字段,

  • AutoRenewFlag:

    自动续费标识 0 默认不自动付费, 1 自动付费 2 手动设置不续费

  • Deadline:

    到期时间,按量付费该值为空

  • BuyTime:

    购买时间

  • LicenseCnt:

    授权数量



31544
31545
31546
# File 'lib/v20180228/models.rb', line 31544

def BuyTime
  @BuyTime
end

#DeadlineObject

Parameters:

  • Quuid:

    主机quuid

  • PayMode:

    计费模式, 0 按量计费 , 1 预付费

  • ResourceId:

    资源ID

  • LicenseType:

    授权类型

  • SourceType:

    订单类型,0 默认计费订单 1 试用订单, 2 赠送 3 体验

  • InquireKey:

    废弃字段,

  • AutoRenewFlag:

    自动续费标识 0 默认不自动付费, 1 自动付费 2 手动设置不续费

  • Deadline:

    到期时间,按量付费该值为空

  • BuyTime:

    购买时间

  • LicenseCnt:

    授权数量



31544
31545
31546
# File 'lib/v20180228/models.rb', line 31544

def Deadline
  @Deadline
end

#InquireKeyObject

Parameters:

  • Quuid:

    主机quuid

  • PayMode:

    计费模式, 0 按量计费 , 1 预付费

  • ResourceId:

    资源ID

  • LicenseType:

    授权类型

  • SourceType:

    订单类型,0 默认计费订单 1 试用订单, 2 赠送 3 体验

  • InquireKey:

    废弃字段,

  • AutoRenewFlag:

    自动续费标识 0 默认不自动付费, 1 自动付费 2 手动设置不续费

  • Deadline:

    到期时间,按量付费该值为空

  • BuyTime:

    购买时间

  • LicenseCnt:

    授权数量



31544
31545
31546
# File 'lib/v20180228/models.rb', line 31544

def InquireKey
  @InquireKey
end

#LicenseCntObject

Parameters:

  • Quuid:

    主机quuid

  • PayMode:

    计费模式, 0 按量计费 , 1 预付费

  • ResourceId:

    资源ID

  • LicenseType:

    授权类型

  • SourceType:

    订单类型,0 默认计费订单 1 试用订单, 2 赠送 3 体验

  • InquireKey:

    废弃字段,

  • AutoRenewFlag:

    自动续费标识 0 默认不自动付费, 1 自动付费 2 手动设置不续费

  • Deadline:

    到期时间,按量付费该值为空

  • BuyTime:

    购买时间

  • LicenseCnt:

    授权数量



31544
31545
31546
# File 'lib/v20180228/models.rb', line 31544

def LicenseCnt
  @LicenseCnt
end

#LicenseTypeObject

Parameters:

  • Quuid:

    主机quuid

  • PayMode:

    计费模式, 0 按量计费 , 1 预付费

  • ResourceId:

    资源ID

  • LicenseType:

    授权类型

  • SourceType:

    订单类型,0 默认计费订单 1 试用订单, 2 赠送 3 体验

  • InquireKey:

    废弃字段,

  • AutoRenewFlag:

    自动续费标识 0 默认不自动付费, 1 自动付费 2 手动设置不续费

  • Deadline:

    到期时间,按量付费该值为空

  • BuyTime:

    购买时间

  • LicenseCnt:

    授权数量



31544
31545
31546
# File 'lib/v20180228/models.rb', line 31544

def LicenseType
  @LicenseType
end

#PayModeObject

Parameters:

  • Quuid:

    主机quuid

  • PayMode:

    计费模式, 0 按量计费 , 1 预付费

  • ResourceId:

    资源ID

  • LicenseType:

    授权类型

  • SourceType:

    订单类型,0 默认计费订单 1 试用订单, 2 赠送 3 体验

  • InquireKey:

    废弃字段,

  • AutoRenewFlag:

    自动续费标识 0 默认不自动付费, 1 自动付费 2 手动设置不续费

  • Deadline:

    到期时间,按量付费该值为空

  • BuyTime:

    购买时间

  • LicenseCnt:

    授权数量



31544
31545
31546
# File 'lib/v20180228/models.rb', line 31544

def PayMode
  @PayMode
end

#QuuidObject

Parameters:

  • Quuid:

    主机quuid

  • PayMode:

    计费模式, 0 按量计费 , 1 预付费

  • ResourceId:

    资源ID

  • LicenseType:

    授权类型

  • SourceType:

    订单类型,0 默认计费订单 1 试用订单, 2 赠送 3 体验

  • InquireKey:

    废弃字段,

  • AutoRenewFlag:

    自动续费标识 0 默认不自动付费, 1 自动付费 2 手动设置不续费

  • Deadline:

    到期时间,按量付费该值为空

  • BuyTime:

    购买时间

  • LicenseCnt:

    授权数量



31544
31545
31546
# File 'lib/v20180228/models.rb', line 31544

def Quuid
  @Quuid
end

#ResourceIdObject

Parameters:

  • Quuid:

    主机quuid

  • PayMode:

    计费模式, 0 按量计费 , 1 预付费

  • ResourceId:

    资源ID

  • LicenseType:

    授权类型

  • SourceType:

    订单类型,0 默认计费订单 1 试用订单, 2 赠送 3 体验

  • InquireKey:

    废弃字段,

  • AutoRenewFlag:

    自动续费标识 0 默认不自动付费, 1 自动付费 2 手动设置不续费

  • Deadline:

    到期时间,按量付费该值为空

  • BuyTime:

    购买时间

  • LicenseCnt:

    授权数量



31544
31545
31546
# File 'lib/v20180228/models.rb', line 31544

def ResourceId
  @ResourceId
end

#SourceTypeObject

Parameters:

  • Quuid:

    主机quuid

  • PayMode:

    计费模式, 0 按量计费 , 1 预付费

  • ResourceId:

    资源ID

  • LicenseType:

    授权类型

  • SourceType:

    订单类型,0 默认计费订单 1 试用订单, 2 赠送 3 体验

  • InquireKey:

    废弃字段,

  • AutoRenewFlag:

    自动续费标识 0 默认不自动付费, 1 自动付费 2 手动设置不续费

  • Deadline:

    到期时间,按量付费该值为空

  • BuyTime:

    购买时间

  • LicenseCnt:

    授权数量



31544
31545
31546
# File 'lib/v20180228/models.rb', line 31544

def SourceType
  @SourceType
end

Instance Method Details

#deserialize(params) ⇒ Object



31559
31560
31561
31562
31563
31564
31565
31566
31567
31568
31569
31570
# File 'lib/v20180228/models.rb', line 31559

def deserialize(params)
  @Quuid = params['Quuid']
  @PayMode = params['PayMode']
  @ResourceId = params['ResourceId']
  @LicenseType = params['LicenseType']
  @SourceType = params['SourceType']
  @InquireKey = params['InquireKey']
  @AutoRenewFlag = params['AutoRenewFlag']
  @Deadline = params['Deadline']
  @BuyTime = params['BuyTime']
  @LicenseCnt = params['LicenseCnt']
end