Class: TencentCloud::Intlpartnersmgt::V20220928::QueryPartnerCreditResponse

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

Overview

QueryPartnerCredit返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(allocatedcredit = nil, totalcredit = nil, remainingcredit = nil, requestid = nil) ⇒ QueryPartnerCreditResponse

Returns a new instance of QueryPartnerCreditResponse.



544
545
546
547
548
549
# File 'lib/v20220928/models.rb', line 544

def initialize(allocatedcredit=nil, totalcredit=nil, remainingcredit=nil, requestid=nil)
  @AllocatedCredit = allocatedcredit
  @TotalCredit = totalcredit
  @RemainingCredit = remainingcredit
  @RequestId = requestid
end

Instance Attribute Details

#AllocatedCreditObject

Parameters:

  • AllocatedCredit:

    已分配额度

  • TotalCredit:

    额度总数

  • RemainingCredit:

    剩余额度

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



542
543
544
# File 'lib/v20220928/models.rb', line 542

def AllocatedCredit
  @AllocatedCredit
end

#RemainingCreditObject

Parameters:

  • AllocatedCredit:

    已分配额度

  • TotalCredit:

    额度总数

  • RemainingCredit:

    剩余额度

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



542
543
544
# File 'lib/v20220928/models.rb', line 542

def RemainingCredit
  @RemainingCredit
end

#RequestIdObject

Parameters:

  • AllocatedCredit:

    已分配额度

  • TotalCredit:

    额度总数

  • RemainingCredit:

    剩余额度

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



542
543
544
# File 'lib/v20220928/models.rb', line 542

def RequestId
  @RequestId
end

#TotalCreditObject

Parameters:

  • AllocatedCredit:

    已分配额度

  • TotalCredit:

    额度总数

  • RemainingCredit:

    剩余额度

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



542
543
544
# File 'lib/v20220928/models.rb', line 542

def TotalCredit
  @TotalCredit
end

Instance Method Details

#deserialize(params) ⇒ Object



551
552
553
554
555
556
# File 'lib/v20220928/models.rb', line 551

def deserialize(params)
  @AllocatedCredit = params['AllocatedCredit']
  @TotalCredit = params['TotalCredit']
  @RemainingCredit = params['RemainingCredit']
  @RequestId = params['RequestId']
end