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.



1037
1038
1039
1040
# File 'lib/v20190118/models.rb', line 1037

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

Instance Attribute Details

#KeyInfoObject

Parameters:

  • KeyInfo:

    白盒密钥信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1035
1036
1037
# File 'lib/v20190118/models.rb', line 1035

def KeyInfo
  @KeyInfo
end

#RequestIdObject

Parameters:

  • KeyInfo:

    白盒密钥信息

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1035
1036
1037
# File 'lib/v20190118/models.rb', line 1035

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1042
1043
1044
1045
1046
1047
1048
# File 'lib/v20190118/models.rb', line 1042

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