Class: TencentCloud::Ecm::V20190719::CreateKeyPairResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecm::V20190719::CreateKeyPairResponse
- Defined in:
- lib/v20190719/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.
1311 1312 1313 1314 |
# File 'lib/v20190719/models.rb', line 1311 def initialize(keypair=nil, requestid=nil) @KeyPair = keypair @RequestId = requestid end |
Instance Attribute Details
#KeyPair ⇒ Object
1309 1310 1311 |
# File 'lib/v20190719/models.rb', line 1309 def KeyPair @KeyPair end |
#RequestId ⇒ Object
1309 1310 1311 |
# File 'lib/v20190719/models.rb', line 1309 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
1316 1317 1318 1319 1320 1321 1322 |
# File 'lib/v20190719/models.rb', line 1316 def deserialize(params) unless params['KeyPair'].nil? @KeyPair = KeyPair.new @KeyPair.deserialize(params['KeyPair']) end @RequestId = params['RequestId'] end |