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.



30980
30981
30982
30983
30984
30985
30986
# File 'lib/v20180228/models.rb', line 30980

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:

  • LicenseId:

    授权ID

  • LicenseType:

    授权类型

  • Status:

    授权订单资源状态

  • SourceType:

    订单类型

  • ResourceId:

    资源ID



30978
30979
30980
# File 'lib/v20180228/models.rb', line 30978

def LicenseId
  @LicenseId
end

#LicenseTypeObject

Parameters:

  • LicenseId:

    授权ID

  • LicenseType:

    授权类型

  • Status:

    授权订单资源状态

  • SourceType:

    订单类型

  • ResourceId:

    资源ID



30978
30979
30980
# File 'lib/v20180228/models.rb', line 30978

def LicenseType
  @LicenseType
end

#ResourceIdObject

Parameters:

  • LicenseId:

    授权ID

  • LicenseType:

    授权类型

  • Status:

    授权订单资源状态

  • SourceType:

    订单类型

  • ResourceId:

    资源ID



30978
30979
30980
# File 'lib/v20180228/models.rb', line 30978

def ResourceId
  @ResourceId
end

#SourceTypeObject

Parameters:

  • LicenseId:

    授权ID

  • LicenseType:

    授权类型

  • Status:

    授权订单资源状态

  • SourceType:

    订单类型

  • ResourceId:

    资源ID



30978
30979
30980
# File 'lib/v20180228/models.rb', line 30978

def SourceType
  @SourceType
end

#StatusObject

Parameters:

  • LicenseId:

    授权ID

  • LicenseType:

    授权类型

  • Status:

    授权订单资源状态

  • SourceType:

    订单类型

  • ResourceId:

    资源ID



30978
30979
30980
# File 'lib/v20180228/models.rb', line 30978

def Status
  @Status
end

Instance Method Details

#deserialize(params) ⇒ Object



30988
30989
30990
30991
30992
30993
30994
# File 'lib/v20180228/models.rb', line 30988

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