Class: TencentCloud::Cloudhsm::V20191112::HsmInfo

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

Overview

支持的加密机类型信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#HsmTypeObject

Parameters:

  • Model:

    加密机型号

  • VsmTypes:

    此类型的加密机所支持的VSM类型列表

  • HsmType:

    加密机母机类型:virtualization、GHSM、EHSM、SHSM



725
726
727
# File 'lib/v20191112/models.rb', line 725

def HsmType
  @HsmType
end

#ModelObject

Parameters:

  • Model:

    加密机型号

  • VsmTypes:

    此类型的加密机所支持的VSM类型列表

  • HsmType:

    加密机母机类型:virtualization、GHSM、EHSM、SHSM



725
726
727
# File 'lib/v20191112/models.rb', line 725

def Model
  @Model
end

#VsmTypesObject

Parameters:

  • Model:

    加密机型号

  • VsmTypes:

    此类型的加密机所支持的VSM类型列表

  • HsmType:

    加密机母机类型:virtualization、GHSM、EHSM、SHSM



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