Class: TencentCloud::Cwp::V20180228::LicenseOrder

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(licenseid = nil, licensetype = nil, status = nil, sourcetype = nil, resourceid = nil) ⇒ LicenseOrder

Returns a new instance of LicenseOrder.



30529
30530
30531
30532
30533
30534
30535
# File 'lib/v20180228/models.rb', line 30529

def initialize(licenseid=nil, licensetype=nil, status=nil, sourcetype=nil, resourceid=nil)
  @LicenseId = licenseid
  @LicenseType = licensetype
  @Status = status
  @SourceType = sourcetype
  @ResourceId = resourceid
end

Instance Attribute Details

#LicenseIdObject

Parameters:

  • 授权ID

  • 授权类型

  • 授权订单资源状态

  • 订单类型

  • 资源ID



30527
30528
30529
# File 'lib/v20180228/models.rb', line 30527

def LicenseId
  @LicenseId
end

#LicenseTypeObject

Parameters:

  • 授权ID

  • 授权类型

  • 授权订单资源状态

  • 订单类型

  • 资源ID



30527
30528
30529
# File 'lib/v20180228/models.rb', line 30527

def LicenseType
  @LicenseType
end

#ResourceIdObject

Parameters:

  • 授权ID

  • 授权类型

  • 授权订单资源状态

  • 订单类型

  • 资源ID



30527
30528
30529
# File 'lib/v20180228/models.rb', line 30527

def ResourceId
  @ResourceId
end

#SourceTypeObject

Parameters:

  • 授权ID

  • 授权类型

  • 授权订单资源状态

  • 订单类型

  • 资源ID



30527
30528
30529
# File 'lib/v20180228/models.rb', line 30527

def SourceType
  @SourceType
end

#StatusObject

Parameters:

  • 授权ID

  • 授权类型

  • 授权订单资源状态

  • 订单类型

  • 资源ID



30527
30528
30529
# File 'lib/v20180228/models.rb', line 30527

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



30537
30538
30539
30540
30541
30542
30543
# File 'lib/v20180228/models.rb', line 30537

def deserialize(params)
  @LicenseId = params['LicenseId']
  @LicenseType = params['LicenseType']
  @Status = params['Status']
  @SourceType = params['SourceType']
  @ResourceId = params['ResourceId']
end