Class: TencentCloud::Lighthouse::V20200324::CreateKeyPairResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lighthouse::V20200324::CreateKeyPairResponse
- Defined in:
- lib/v20200324/models.rb
Overview
CreateKeyPair返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(keypair = nil, requestid = nil) ⇒ CreateKeyPairResponse
constructor
A new instance of CreateKeyPairResponse.
Constructor Details
#initialize(keypair = nil, requestid = nil) ⇒ CreateKeyPairResponse
Returns a new instance of CreateKeyPairResponse.
1261 1262 1263 1264 |
# File 'lib/v20200324/models.rb', line 1261 def initialize(keypair=nil, requestid=nil) @KeyPair = keypair @RequestId = requestid end |
Instance Attribute Details
#KeyPair ⇒ Object
1259 1260 1261 |
# File 'lib/v20200324/models.rb', line 1259 def KeyPair @KeyPair end |
#RequestId ⇒ Object
1259 1260 1261 |
# File 'lib/v20200324/models.rb', line 1259 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1266 1267 1268 1269 1270 1271 1272 |
# File 'lib/v20200324/models.rb', line 1266 def deserialize(params) unless params['KeyPair'].nil? @KeyPair = KeyPair.new @KeyPair.deserialize(params['KeyPair']) end @RequestId = params['RequestId'] end |