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.



934
935
936
937
938
939
940
941
# File 'lib/v20191118/models.rb', line 934

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。



932
933
934
# File 'lib/v20191118/models.rb', line 932

def ConnectCommand
  @ConnectCommand
end

#HostNameObject

Parameters:

  • PrivateKey:

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

  • UserName:

    用户名称

  • HostName:

    连接地址

  • Port:

    连接端口

  • ConnectCommand:

    连接参考命令

  • RequestId:

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



932
933
934
# File 'lib/v20191118/models.rb', line 932

def HostName
  @HostName
end

#PortObject

Parameters:

  • PrivateKey:

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

  • UserName:

    用户名称

  • HostName:

    连接地址

  • Port:

    连接端口

  • ConnectCommand:

    连接参考命令

  • RequestId:

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



932
933
934
# File 'lib/v20191118/models.rb', line 932

def Port
  @Port
end

#PrivateKeyObject

Parameters:

  • PrivateKey:

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

  • UserName:

    用户名称

  • HostName:

    连接地址

  • Port:

    连接端口

  • ConnectCommand:

    连接参考命令

  • RequestId:

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



932
933
934
# File 'lib/v20191118/models.rb', line 932

def PrivateKey
  @PrivateKey
end

#RequestIdObject

Parameters:

  • PrivateKey:

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

  • UserName:

    用户名称

  • HostName:

    连接地址

  • Port:

    连接端口

  • ConnectCommand:

    连接参考命令

  • RequestId:

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



932
933
934
# File 'lib/v20191118/models.rb', line 932

def RequestId
  @RequestId
end

#UserNameObject

Parameters:

  • PrivateKey:

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

  • UserName:

    用户名称

  • HostName:

    连接地址

  • Port:

    连接端口

  • ConnectCommand:

    连接参考命令

  • RequestId:

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



932
933
934
# File 'lib/v20191118/models.rb', line 932

def UserName
  @UserName
end

Instance Method Details

#deserialize(params) ⇒ Object



943
944
945
946
947
948
949
950
# File 'lib/v20191118/models.rb', line 943

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