Class: TencentCloud::Tdid::V20210519::CreateTDidByPubKeyRequest

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

Overview

CreateTDidByPubKey请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dapid = nil, publickey = nil, customattribute = nil, ignoreexisted = nil) ⇒ CreateTDidByPubKeyRequest

Returns a new instance of CreateTDidByPubKeyRequest.



255
256
257
258
259
260
# File 'lib/v20210519/models.rb', line 255

def initialize(dapid=nil, publickey=nil, customattribute=nil, ignoreexisted=nil)
  @DAPId = dapid
  @PublicKey = publickey
  @CustomAttribute = customattribute
  @IgnoreExisted = ignoreexisted
end

Instance Attribute Details

#CustomAttributeObject

Parameters:

  • DAPId:

    DID应用id

  • PublicKey:

    pem格式的认证公钥

  • CustomAttribute:

    自定义DID初始化属性json字符串

  • IgnoreExisted:

    0:did存在返回错误,1:did存在返回该did,默认:0



253
254
255
# File 'lib/v20210519/models.rb', line 253

def CustomAttribute
  @CustomAttribute
end

#DAPIdObject

Parameters:

  • DAPId:

    DID应用id

  • PublicKey:

    pem格式的认证公钥

  • CustomAttribute:

    自定义DID初始化属性json字符串

  • IgnoreExisted:

    0:did存在返回错误,1:did存在返回该did,默认:0



253
254
255
# File 'lib/v20210519/models.rb', line 253

def DAPId
  @DAPId
end

#IgnoreExistedObject

Parameters:

  • DAPId:

    DID应用id

  • PublicKey:

    pem格式的认证公钥

  • CustomAttribute:

    自定义DID初始化属性json字符串

  • IgnoreExisted:

    0:did存在返回错误,1:did存在返回该did,默认:0



253
254
255
# File 'lib/v20210519/models.rb', line 253

def IgnoreExisted
  @IgnoreExisted
end

#PublicKeyObject

Parameters:

  • DAPId:

    DID应用id

  • PublicKey:

    pem格式的认证公钥

  • CustomAttribute:

    自定义DID初始化属性json字符串

  • IgnoreExisted:

    0:did存在返回错误,1:did存在返回该did,默认:0



253
254
255
# File 'lib/v20210519/models.rb', line 253

def PublicKey
  @PublicKey
end

Instance Method Details

#deserialize(params) ⇒ Object



262
263
264
265
266
267
# File 'lib/v20210519/models.rb', line 262

def deserialize(params)
  @DAPId = params['DAPId']
  @PublicKey = params['PublicKey']
  @CustomAttribute = params['CustomAttribute']
  @IgnoreExisted = params['IgnoreExisted']
end