Class: TencentCloud::Intlpartnersmgt::V20220928::QueryVoucherPoolResponse

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

Overview

QueryVoucherPool返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(agentname = nil, accounttype = nil, totalquota = nil, remainingquota = nil, issuednum = nil, requestid = nil) ⇒ QueryVoucherPoolResponse

Returns a new instance of QueryVoucherPoolResponse.



760
761
762
763
764
765
766
767
# File 'lib/v20220928/models.rb', line 760

def initialize(agentname=nil, accounttype=nil, totalquota=nil, remainingquota=nil, issuednum=nil, requestid=nil)
  @AgentName = agentname
  @AccountType = accounttype
  @TotalQuota = totalquota
  @RemainingQuota = remainingquota
  @IssuedNum = issuednum
  @RequestId = requestid
end

Instance Attribute Details

#AccountTypeObject

Parameters:

  • AgentName:

    经销商姓名

  • AccountType:

    经销商角色类型:1:经销商 2:总经销商 3:二级经销商

  • TotalQuota:

    总额度

  • RemainingQuota:

    剩余额度

  • IssuedNum:

    已发放的代金券数量

  • RequestId:

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



758
759
760
# File 'lib/v20220928/models.rb', line 758

def AccountType
  @AccountType
end

#AgentNameObject

Parameters:

  • AgentName:

    经销商姓名

  • AccountType:

    经销商角色类型:1:经销商 2:总经销商 3:二级经销商

  • TotalQuota:

    总额度

  • RemainingQuota:

    剩余额度

  • IssuedNum:

    已发放的代金券数量

  • RequestId:

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



758
759
760
# File 'lib/v20220928/models.rb', line 758

def AgentName
  @AgentName
end

#IssuedNumObject

Parameters:

  • AgentName:

    经销商姓名

  • AccountType:

    经销商角色类型:1:经销商 2:总经销商 3:二级经销商

  • TotalQuota:

    总额度

  • RemainingQuota:

    剩余额度

  • IssuedNum:

    已发放的代金券数量

  • RequestId:

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



758
759
760
# File 'lib/v20220928/models.rb', line 758

def IssuedNum
  @IssuedNum
end

#RemainingQuotaObject

Parameters:

  • AgentName:

    经销商姓名

  • AccountType:

    经销商角色类型:1:经销商 2:总经销商 3:二级经销商

  • TotalQuota:

    总额度

  • RemainingQuota:

    剩余额度

  • IssuedNum:

    已发放的代金券数量

  • RequestId:

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



758
759
760
# File 'lib/v20220928/models.rb', line 758

def RemainingQuota
  @RemainingQuota
end

#RequestIdObject

Parameters:

  • AgentName:

    经销商姓名

  • AccountType:

    经销商角色类型:1:经销商 2:总经销商 3:二级经销商

  • TotalQuota:

    总额度

  • RemainingQuota:

    剩余额度

  • IssuedNum:

    已发放的代金券数量

  • RequestId:

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



758
759
760
# File 'lib/v20220928/models.rb', line 758

def RequestId
  @RequestId
end

#TotalQuotaObject

Parameters:

  • AgentName:

    经销商姓名

  • AccountType:

    经销商角色类型:1:经销商 2:总经销商 3:二级经销商

  • TotalQuota:

    总额度

  • RemainingQuota:

    剩余额度

  • IssuedNum:

    已发放的代金券数量

  • RequestId:

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



758
759
760
# File 'lib/v20220928/models.rb', line 758

def TotalQuota
  @TotalQuota
end

Instance Method Details

#deserialize(params) ⇒ Object



769
770
771
772
773
774
775
776
# File 'lib/v20220928/models.rb', line 769

def deserialize(params)
  @AgentName = params['AgentName']
  @AccountType = params['AccountType']
  @TotalQuota = params['TotalQuota']
  @RemainingQuota = params['RemainingQuota']
  @IssuedNum = params['IssuedNum']
  @RequestId = params['RequestId']
end