Class: TencentCloud::Cvm::V20170312::CreateKeyPairResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::CreateKeyPairResponse
- Defined in:
- lib/v20170312/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.
847 848 849 850 |
# File 'lib/v20170312/models.rb', line 847 def initialize(keypair=nil, requestid=nil) @KeyPair = keypair @RequestId = requestid end |
Instance Attribute Details
#KeyPair ⇒ Object
845 846 847 |
# File 'lib/v20170312/models.rb', line 845 def KeyPair @KeyPair end |
#RequestId ⇒ Object
845 846 847 |
# File 'lib/v20170312/models.rb', line 845 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
852 853 854 855 856 857 858 |
# File 'lib/v20170312/models.rb', line 852 def deserialize(params) unless params['KeyPair'].nil? @KeyPair = KeyPair.new @KeyPair.deserialize(params['KeyPair']) end @RequestId = params['RequestId'] end |