Class: TencentCloud::Cam::V20190116::BuildDataFlowAuthTokenResponse

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

Overview

BuildDataFlowAuthToken返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(credentials = nil, requestid = nil) ⇒ BuildDataFlowAuthTokenResponse

Returns a new instance of BuildDataFlowAuthTokenResponse.



629
630
631
632
# File 'lib/v20190116/models.rb', line 629

def initialize(credentials=nil, requestid=nil)
  @Credentials = credentials
  @RequestId = requestid
end

Instance Attribute Details

#CredentialsObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Credentials:

    认证凭据AuthToken信息

  • RequestId:

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



627
628
629
# File 'lib/v20190116/models.rb', line 627

def Credentials
  @Credentials
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Credentials:

    认证凭据AuthToken信息

  • RequestId:

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



627
628
629
# File 'lib/v20190116/models.rb', line 627

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



634
635
636
637
638
639
640
# File 'lib/v20190116/models.rb', line 634

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