Class: TencentCloud::Ms::V20180408::CreateOrderInstanceRequest

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

Overview

CreateOrderInstance请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(platformtype = nil, ordertype = nil, apppkgnamelist = nil) ⇒ CreateOrderInstanceRequest

Returns a new instance of CreateOrderInstanceRequest.



898
899
900
901
902
# File 'lib/v20180408/models.rb', line 898

def initialize(platformtype=nil, ordertype=nil, apppkgnamelist=nil)
  @PlatformType = platformtype
  @OrderType = ordertype
  @AppPkgNameList = apppkgnamelist
end

Instance Attribute Details

#AppPkgNameListObject

当android按年收费加固或android免费试用加固时,该字段要求非空,即PlatformType=1 并且 OrderType=2时,AppPkgNameList必传值。

Parameters:

  • PlatformType:

    平台类型枚举值:1-android加固 ;2-ios源码混淆 ; 3-sdk加固 ; 4-applet小程序加固

  • OrderType:

    订单采购类型 1-免费试用 ;2-按年收费 ;3-按次收费

  • AppPkgNameList:

    代表应用包名列表,值为单个包名(例如:“a.b.xxx”)或多个包名用逗号隔开(例如:“a.b.xxx,b.c.xxx”)。



896
897
898
# File 'lib/v20180408/models.rb', line 896

def AppPkgNameList
  @AppPkgNameList
end

#OrderTypeObject

当android按年收费加固或android免费试用加固时,该字段要求非空,即PlatformType=1 并且 OrderType=2时,AppPkgNameList必传值。

Parameters:

  • PlatformType:

    平台类型枚举值:1-android加固 ;2-ios源码混淆 ; 3-sdk加固 ; 4-applet小程序加固

  • OrderType:

    订单采购类型 1-免费试用 ;2-按年收费 ;3-按次收费

  • AppPkgNameList:

    代表应用包名列表,值为单个包名(例如:“a.b.xxx”)或多个包名用逗号隔开(例如:“a.b.xxx,b.c.xxx”)。



896
897
898
# File 'lib/v20180408/models.rb', line 896

def OrderType
  @OrderType
end

#PlatformTypeObject

当android按年收费加固或android免费试用加固时,该字段要求非空,即PlatformType=1 并且 OrderType=2时,AppPkgNameList必传值。

Parameters:

  • PlatformType:

    平台类型枚举值:1-android加固 ;2-ios源码混淆 ; 3-sdk加固 ; 4-applet小程序加固

  • OrderType:

    订单采购类型 1-免费试用 ;2-按年收费 ;3-按次收费

  • AppPkgNameList:

    代表应用包名列表,值为单个包名(例如:“a.b.xxx”)或多个包名用逗号隔开(例如:“a.b.xxx,b.c.xxx”)。



896
897
898
# File 'lib/v20180408/models.rb', line 896

def PlatformType
  @PlatformType
end

Instance Method Details

#deserialize(params) ⇒ Object



904
905
906
907
908
# File 'lib/v20180408/models.rb', line 904

def deserialize(params)
  @PlatformType = params['PlatformType']
  @OrderType = params['OrderType']
  @AppPkgNameList = params['AppPkgNameList']
end