Class: TencentCloud::Gs::V20191118::CreateAndroidAppRequest

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

Overview

CreateAndroidApp请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, userid = nil, appmode = nil) ⇒ CreateAndroidAppRequest

Returns a new instance of CreateAndroidAppRequest.



902
903
904
905
906
# File 'lib/v20191118/models.rb', line 902

def initialize(name=nil, userid=nil, appmode=nil)
  @Name = name
  @UserId = userid
  @AppMode = appmode
end

Instance Attribute Details

#AppModeObject

Parameters:

  • Name:

    安卓应用名字

  • UserId:

    用户 Id

  • AppMode:

    应用模式(NORMAL : 普通模式、只支持 apk 文件上传,为默认值;ADVANCED : 高级模式、只支持上传 tgz 文件 和 自定义 shell 命令执行)



900
901
902
# File 'lib/v20191118/models.rb', line 900

def AppMode
  @AppMode
end

#NameObject

Parameters:

  • Name:

    安卓应用名字

  • UserId:

    用户 Id

  • AppMode:

    应用模式(NORMAL : 普通模式、只支持 apk 文件上传,为默认值;ADVANCED : 高级模式、只支持上传 tgz 文件 和 自定义 shell 命令执行)



900
901
902
# File 'lib/v20191118/models.rb', line 900

def Name
  @Name
end

#UserIdObject

Parameters:

  • Name:

    安卓应用名字

  • UserId:

    用户 Id

  • AppMode:

    应用模式(NORMAL : 普通模式、只支持 apk 文件上传,为默认值;ADVANCED : 高级模式、只支持上传 tgz 文件 和 自定义 shell 命令执行)



900
901
902
# File 'lib/v20191118/models.rb', line 900

def UserId
  @UserId
end

Instance Method Details

#deserialize(params) ⇒ Object



908
909
910
911
912
# File 'lib/v20191118/models.rb', line 908

def deserialize(params)
  @Name = params['Name']
  @UserId = params['UserId']
  @AppMode = params['AppMode']
end