class TencentCloud::Kms::V20190118::ListAlgorithmsResponse

ListAlgorithms返回参数结构体

def deserialize(params)

def deserialize(params)
  unless params['SymmetricAlgorithms'].nil?
    @SymmetricAlgorithms = []
    params['SymmetricAlgorithms'].each do |i|
      algorithminfo_tmp = AlgorithmInfo.new
      algorithminfo_tmp.deserialize(i)
      @SymmetricAlgorithms << algorithminfo_tmp
    end
  end
  unless params['AsymmetricAlgorithms'].nil?
    @AsymmetricAlgorithms = []
    params['AsymmetricAlgorithms'].each do |i|
      algorithminfo_tmp = AlgorithmInfo.new
      algorithminfo_tmp.deserialize(i)
      @AsymmetricAlgorithms << algorithminfo_tmp
    end
  end
  unless params['AsymmetricSignVerifyAlgorithms'].nil?
    @AsymmetricSignVerifyAlgorithms = []
    params['AsymmetricSignVerifyAlgorithms'].each do |i|
      algorithminfo_tmp = AlgorithmInfo.new
      algorithminfo_tmp.deserialize(i)
      @AsymmetricSignVerifyAlgorithms << algorithminfo_tmp
    end
  end
  @RequestId = params['RequestId']
end

def initialize(symmetricalgorithms=nil, asymmetricalgorithms=nil, asymmetricsignverifyalgorithms=nil, requestid=nil)

def initialize(symmetricalgorithms=nil, asymmetricalgorithms=nil, asymmetricsignverifyalgorithms=nil, requestid=nil)
  @SymmetricAlgorithms = symmetricalgorithms
  @AsymmetricAlgorithms = asymmetricalgorithms
  @AsymmetricSignVerifyAlgorithms = asymmetricsignverifyalgorithms
  @RequestId = requestid
end