Class: TencentCloud::Cloudhsm::V20191112::HsmInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cloudhsm::V20191112::HsmInfo
- Defined in:
- lib/v20191112/models.rb
Overview
支持的加密机类型信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(model = nil, vsmtypes = nil, hsmtype = nil) ⇒ HsmInfo
constructor
A new instance of HsmInfo.
Constructor Details
#initialize(model = nil, vsmtypes = nil, hsmtype = nil) ⇒ HsmInfo
Returns a new instance of HsmInfo.
727 728 729 730 731 |
# File 'lib/v20191112/models.rb', line 727 def initialize(model=nil, vsmtypes=nil, hsmtype=nil) @Model = model @VsmTypes = vsmtypes @HsmType = hsmtype end |
Instance Attribute Details
#HsmType ⇒ Object
725 726 727 |
# File 'lib/v20191112/models.rb', line 725 def HsmType @HsmType end |
#Model ⇒ Object
725 726 727 |
# File 'lib/v20191112/models.rb', line 725 def Model @Model end |
#VsmTypes ⇒ Object
725 726 727 |
# File 'lib/v20191112/models.rb', line 725 def VsmTypes @VsmTypes end |
Instance Method Details
#deserialize(params) ⇒ Object
733 734 735 736 737 738 739 740 741 742 743 744 |
# File 'lib/v20191112/models.rb', line 733 def deserialize(params) @Model = params['Model'] unless params['VsmTypes'].nil? @VsmTypes = [] params['VsmTypes'].each do |i| vsminfo_tmp = VsmInfo.new vsminfo_tmp.deserialize(i) @VsmTypes << vsminfo_tmp end end @HsmType = params['HsmType'] end |