Class: TencentCloud::Ms::V20180408::CreateEncryptInstanceRequest

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

Overview

CreateEncryptInstance请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(platformtype = nil, ordertype = nil, encryptoptype = nil, resourceid = nil, androidappinfo = nil, androidplan = nil, appletinfo = nil, iosinfo = nil) ⇒ CreateEncryptInstanceRequest



831
832
833
834
835
836
837
838
839
840
# File 'lib/v20180408/models.rb', line 831

def initialize(platformtype=nil, ordertype=nil, encryptoptype=nil, resourceid=nil, androidappinfo=nil, androidplan=nil, appletinfo=nil, iosinfo=nil)
  @PlatformType = platformtype
  @OrderType = ordertype
  @EncryptOpType = encryptoptype
  @ResourceId = resourceid
  @AndroidAppInfo = androidappinfo
  @AndroidPlan = androidplan
  @AppletInfo = appletinfo
  @IOSInfo = iosinfo
end

Instance Attribute Details

#AndroidAppInfoObject



829
830
831
# File 'lib/v20180408/models.rb', line 829

def AndroidAppInfo
  @AndroidAppInfo
end

#AndroidPlanObject



829
830
831
# File 'lib/v20180408/models.rb', line 829

def AndroidPlan
  @AndroidPlan
end

#AppletInfoObject



829
830
831
# File 'lib/v20180408/models.rb', line 829

def AppletInfo
  @AppletInfo
end

#EncryptOpTypeObject



829
830
831
# File 'lib/v20180408/models.rb', line 829

def EncryptOpType
  @EncryptOpType
end

#IOSInfoObject



829
830
831
# File 'lib/v20180408/models.rb', line 829

def IOSInfo
  @IOSInfo
end

#OrderTypeObject



829
830
831
# File 'lib/v20180408/models.rb', line 829

def OrderType
  @OrderType
end

#PlatformTypeObject



829
830
831
# File 'lib/v20180408/models.rb', line 829

def PlatformType
  @PlatformType
end

#ResourceIdObject



829
830
831
# File 'lib/v20180408/models.rb', line 829

def ResourceId
  @ResourceId
end

Instance Method Details

#deserialize(params) ⇒ Object



842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
# File 'lib/v20180408/models.rb', line 842

def deserialize(params)
  @PlatformType = params['PlatformType']
  @OrderType = params['OrderType']
  @EncryptOpType = params['EncryptOpType']
  @ResourceId = params['ResourceId']
  unless params['AndroidAppInfo'].nil?
    @AndroidAppInfo = AndroidAppInfo.new
    @AndroidAppInfo.deserialize(params['AndroidAppInfo'])
  end
  unless params['AndroidPlan'].nil?
    @AndroidPlan = AndroidPlan.new
    @AndroidPlan.deserialize(params['AndroidPlan'])
  end
  unless params['AppletInfo'].nil?
    @AppletInfo = AppletInfo.new
    @AppletInfo.deserialize(params['AppletInfo'])
  end
  unless params['IOSInfo'].nil?
    @IOSInfo = IOSInfo.new
    @IOSInfo.deserialize(params['IOSInfo'])
  end
end