Class: TencentCloud::Tdid::V20210519::GetCredentialStateResponse

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

Overview

GetCredentialState返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(credentialstate = nil, requestid = nil) ⇒ GetCredentialStateResponse

Returns a new instance of GetCredentialStateResponse.



535
536
537
538
# File 'lib/v20210519/models.rb', line 535

def initialize(credentialstate=nil, requestid=nil)
  @CredentialState = credentialstate
  @RequestId = requestid
end

Instance Attribute Details

#CredentialStateObject

Parameters:

  • CredentialState:

    凭证状态信息

  • RequestId:

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



533
534
535
# File 'lib/v20210519/models.rb', line 533

def CredentialState
  @CredentialState
end

#RequestIdObject

Parameters:

  • CredentialState:

    凭证状态信息

  • RequestId:

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



533
534
535
# File 'lib/v20210519/models.rb', line 533

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



540
541
542
543
544
545
546
# File 'lib/v20210519/models.rb', line 540

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