Class: TencentCloud::Kms::V20190118::CreateWhiteBoxKeyRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Kms::V20190118::CreateWhiteBoxKeyRequest
- Defined in:
- lib/v20190118/models.rb
Overview
CreateWhiteBoxKey请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(_alias = nil, algorithm = nil, description = nil, tags = nil) ⇒ CreateWhiteBoxKeyRequest
constructor
A new instance of CreateWhiteBoxKeyRequest.
Constructor Details
#initialize(_alias = nil, algorithm = nil, description = nil, tags = nil) ⇒ CreateWhiteBoxKeyRequest
Returns a new instance of CreateWhiteBoxKeyRequest.
416 417 418 419 420 421 |
# File 'lib/v20190118/models.rb', line 416 def initialize(_alias=nil, algorithm=nil, description=nil, =nil) @Alias = _alias @Algorithm = algorithm @Description = description @Tags = end |
Instance Attribute Details
#Algorithm ⇒ Object
414 415 416 |
# File 'lib/v20190118/models.rb', line 414 def Algorithm @Algorithm end |
#Alias ⇒ Object
414 415 416 |
# File 'lib/v20190118/models.rb', line 414 def Alias @Alias end |
#Description ⇒ Object
414 415 416 |
# File 'lib/v20190118/models.rb', line 414 def Description @Description end |
#Tags ⇒ Object
414 415 416 |
# File 'lib/v20190118/models.rb', line 414 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
423 424 425 426 427 428 429 430 431 432 433 434 435 |
# File 'lib/v20190118/models.rb', line 423 def deserialize(params) @Alias = params['Alias'] @Algorithm = params['Algorithm'] @Description = params['Description'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end end |