Class: TencentCloud::Kms::V20190118::DescribeWhiteBoxKeyResponse

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

Overview

DescribeWhiteBoxKey返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(keyinfo = nil, requestid = nil) ⇒ DescribeWhiteBoxKeyResponse

Returns a new instance of DescribeWhiteBoxKeyResponse.



816
817
818
819
# File 'lib/v20190118/models.rb', line 816

def initialize(keyinfo=nil, requestid=nil)
  @KeyInfo = keyinfo
  @RequestId = requestid
end

Instance Attribute Details

#KeyInfoObject

Parameters:

  • KeyInfo:

    白盒密钥信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



814
815
816
# File 'lib/v20190118/models.rb', line 814

def KeyInfo
  @KeyInfo
end

#RequestIdObject

Parameters:

  • KeyInfo:

    白盒密钥信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



814
815
816
# File 'lib/v20190118/models.rb', line 814

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



821
822
823
824
825
826
827
# File 'lib/v20190118/models.rb', line 821

def deserialize(params)
  unless params['KeyInfo'].nil?
    @KeyInfo = WhiteboxKeyInfo.new
    @KeyInfo.deserialize(params['KeyInfo'])
  end
  @RequestId = params['RequestId']
end