Class: TencentCloud::Kms::V20190118::ListAlgorithmsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Kms::V20190118::ListAlgorithmsResponse
- Defined in:
- lib/v20190118/models.rb
Overview
ListAlgorithms返回参数结构体
Instance Attribute Summary collapse
- #AsymmetricAlgorithms ⇒ Object
- #AsymmetricSignVerifyAlgorithms ⇒ Object
- #RequestId ⇒ Object
- #SymmetricAlgorithms ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(symmetricalgorithms = nil, asymmetricalgorithms = nil, asymmetricsignverifyalgorithms = nil, requestid = nil) ⇒ ListAlgorithmsResponse
constructor
A new instance of ListAlgorithmsResponse.
Constructor Details
#initialize(symmetricalgorithms = nil, asymmetricalgorithms = nil, asymmetricsignverifyalgorithms = nil, requestid = nil) ⇒ ListAlgorithmsResponse
Returns a new instance of ListAlgorithmsResponse.
2466 2467 2468 2469 2470 2471 |
# File 'lib/v20190118/models.rb', line 2466 def initialize(symmetricalgorithms=nil, asymmetricalgorithms=nil, asymmetricsignverifyalgorithms=nil, requestid=nil) @SymmetricAlgorithms = symmetricalgorithms @AsymmetricAlgorithms = asymmetricalgorithms @AsymmetricSignVerifyAlgorithms = asymmetricsignverifyalgorithms @RequestId = requestid end |
Instance Attribute Details
#AsymmetricAlgorithms ⇒ Object
2464 2465 2466 |
# File 'lib/v20190118/models.rb', line 2464 def AsymmetricAlgorithms @AsymmetricAlgorithms end |
#AsymmetricSignVerifyAlgorithms ⇒ Object
2464 2465 2466 |
# File 'lib/v20190118/models.rb', line 2464 def AsymmetricSignVerifyAlgorithms @AsymmetricSignVerifyAlgorithms end |
#RequestId ⇒ Object
2464 2465 2466 |
# File 'lib/v20190118/models.rb', line 2464 def RequestId @RequestId end |
#SymmetricAlgorithms ⇒ Object
2464 2465 2466 |
# File 'lib/v20190118/models.rb', line 2464 def SymmetricAlgorithms @SymmetricAlgorithms end |
Instance Method Details
#deserialize(params) ⇒ Object
2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 |
# File 'lib/v20190118/models.rb', line 2473 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 |