Class: TencentCloud::Gs::V20191118::CreateAndroidInstanceADBResponse

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

Overview

CreateAndroidInstanceADB返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(privatekey = nil, username = nil, hostname = nil, port = nil, connectcommand = nil, requestid = nil) ⇒ CreateAndroidInstanceADBResponse

Returns a new instance of CreateAndroidInstanceADBResponse.



1020
1021
1022
1023
1024
1025
1026
1027
# File 'lib/v20191118/models.rb', line 1020

def initialize(privatekey=nil, username=nil, hostname=nil, port=nil, connectcommand=nil, requestid=nil)
  @PrivateKey = privatekey
  @UserName = username
  @HostName = hostname
  @Port = port
  @ConnectCommand = connectcommand
  @RequestId = requestid
end

Instance Attribute Details

#ConnectCommandObject

Parameters:

  • PrivateKey:

    连接私钥,需要保存为文件形式,例如 private_key.pem

  • UserName:

    用户名称

  • HostName:

    连接地址

  • Port:

    连接端口

  • ConnectCommand:

    连接参考命令

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1018
1019
1020
# File 'lib/v20191118/models.rb', line 1018

def ConnectCommand
  @ConnectCommand
end

#HostNameObject

Parameters:

  • PrivateKey:

    连接私钥,需要保存为文件形式,例如 private_key.pem

  • UserName:

    用户名称

  • HostName:

    连接地址

  • Port:

    连接端口

  • ConnectCommand:

    连接参考命令

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1018
1019
1020
# File 'lib/v20191118/models.rb', line 1018

def HostName
  @HostName
end

#PortObject

Parameters:

  • PrivateKey:

    连接私钥,需要保存为文件形式,例如 private_key.pem

  • UserName:

    用户名称

  • HostName:

    连接地址

  • Port:

    连接端口

  • ConnectCommand:

    连接参考命令

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1018
1019
1020
# File 'lib/v20191118/models.rb', line 1018

def Port
  @Port
end

#PrivateKeyObject

Parameters:

  • PrivateKey:

    连接私钥,需要保存为文件形式,例如 private_key.pem

  • UserName:

    用户名称

  • HostName:

    连接地址

  • Port:

    连接端口

  • ConnectCommand:

    连接参考命令

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1018
1019
1020
# File 'lib/v20191118/models.rb', line 1018

def PrivateKey
  @PrivateKey
end

#RequestIdObject

Parameters:

  • PrivateKey:

    连接私钥,需要保存为文件形式,例如 private_key.pem

  • UserName:

    用户名称

  • HostName:

    连接地址

  • Port:

    连接端口

  • ConnectCommand:

    连接参考命令

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1018
1019
1020
# File 'lib/v20191118/models.rb', line 1018

def RequestId
  @RequestId
end

#UserNameObject

Parameters:

  • PrivateKey:

    连接私钥,需要保存为文件形式,例如 private_key.pem

  • UserName:

    用户名称

  • HostName:

    连接地址

  • Port:

    连接端口

  • ConnectCommand:

    连接参考命令

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1018
1019
1020
# File 'lib/v20191118/models.rb', line 1018

def UserName
  @UserName
end

Instance Method Details

#deserialize(params) ⇒ Object



1029
1030
1031
1032
1033
1034
1035
1036
# File 'lib/v20191118/models.rb', line 1029

def deserialize(params)
  @PrivateKey = params['PrivateKey']
  @UserName = params['UserName']
  @HostName = params['HostName']
  @Port = params['Port']
  @ConnectCommand = params['ConnectCommand']
  @RequestId = params['RequestId']
end