Class: TencentCloud::Kms::V20190118::AlgorithmInfo

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

Overview

算法的名称 和 标识

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(keyusage = nil, algorithm = nil) ⇒ AlgorithmInfo

Returns a new instance of AlgorithmInfo.



29
30
31
32
# File 'lib/v20190118/models.rb', line 29

def initialize(keyusage=nil, algorithm=nil)
  @KeyUsage = keyusage
  @Algorithm = algorithm
end

Instance Attribute Details

#AlgorithmObject

Parameters:

  • KeyUsage:

    算法的标识

  • Algorithm:

    算法的名称



27
28
29
# File 'lib/v20190118/models.rb', line 27

def Algorithm
  @Algorithm
end

#KeyUsageObject

Parameters:

  • KeyUsage:

    算法的标识

  • Algorithm:

    算法的名称



27
28
29
# File 'lib/v20190118/models.rb', line 27

def KeyUsage
  @KeyUsage
end

Instance Method Details

#deserialize(params) ⇒ Object



34
35
36
37
# File 'lib/v20190118/models.rb', line 34

def deserialize(params)
  @KeyUsage = params['KeyUsage']
  @Algorithm = params['Algorithm']
end