class TencentCloud::Kms::V20190118::CreateKeyRequest

CreateKey请求参数结构体

def deserialize(params)

def deserialize(params)
  @Alias = params['Alias']
  @Description = params['Description']
  @KeyUsage = params['KeyUsage']
  @Type = params['Type']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
  @HsmClusterId = params['HsmClusterId']
end

def initialize(_alias=nil, description=nil, keyusage=nil, type=nil, tags=nil, hsmclusterid=nil)

def initialize(_alias=nil, description=nil, keyusage=nil, type=nil, tags=nil, hsmclusterid=nil)
  @Alias = _alias
  @Description = description
  @KeyUsage = keyusage
  @Type = type
  @Tags = tags
  @HsmClusterId = hsmclusterid
end