Class: TencentCloud::Gs::V20191118::CreateAndroidInstanceSSHResponse

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

Overview

CreateAndroidInstanceSSH返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CreateAndroidInstanceSSHResponse.



1209
1210
1211
1212
1213
1214
1215
1216
# File 'lib/v20191118/models.rb', line 1209

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。



1207
1208
1209
# File 'lib/v20191118/models.rb', line 1207

def ConnectCommand
  @ConnectCommand
end

#HostNameObject

Parameters:

  • PrivateKey:

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

  • UserName:

    用户名称

  • HostName:

    连接地址

  • Port:

    连接端口

  • ConnectCommand:

    连接参考命令

  • RequestId:

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



1207
1208
1209
# File 'lib/v20191118/models.rb', line 1207

def HostName
  @HostName
end

#PortObject

Parameters:

  • PrivateKey:

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

  • UserName:

    用户名称

  • HostName:

    连接地址

  • Port:

    连接端口

  • ConnectCommand:

    连接参考命令

  • RequestId:

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



1207
1208
1209
# File 'lib/v20191118/models.rb', line 1207

def Port
  @Port
end

#PrivateKeyObject

Parameters:

  • PrivateKey:

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

  • UserName:

    用户名称

  • HostName:

    连接地址

  • Port:

    连接端口

  • ConnectCommand:

    连接参考命令

  • RequestId:

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



1207
1208
1209
# File 'lib/v20191118/models.rb', line 1207

def PrivateKey
  @PrivateKey
end

#RequestIdObject

Parameters:

  • PrivateKey:

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

  • UserName:

    用户名称

  • HostName:

    连接地址

  • Port:

    连接端口

  • ConnectCommand:

    连接参考命令

  • RequestId:

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



1207
1208
1209
# File 'lib/v20191118/models.rb', line 1207

def RequestId
  @RequestId
end

#UserNameObject

Parameters:

  • PrivateKey:

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

  • UserName:

    用户名称

  • HostName:

    连接地址

  • Port:

    连接端口

  • ConnectCommand:

    连接参考命令

  • RequestId:

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



1207
1208
1209
# File 'lib/v20191118/models.rb', line 1207

def UserName
  @UserName
end

Instance Method Details

#deserialize(params) ⇒ Object



1218
1219
1220
1221
1222
1223
1224
1225
# File 'lib/v20191118/models.rb', line 1218

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