Class: TencentCloud::Billing::V20180709::DescribeVoucherUsageDetailsRequest

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

Overview

DescribeVoucherUsageDetails请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(limit = nil, offset = nil, voucherid = nil, operator = nil) ⇒ DescribeVoucherUsageDetailsRequest

Returns a new instance of DescribeVoucherUsageDetailsRequest.



9782
9783
9784
9785
9786
9787
# File 'lib/v20180709/models.rb', line 9782

def initialize(limit=nil, offset=nil, voucherid=nil, operator=nil)
  @Limit = limit
  @Offset = offset
  @VoucherId = voucherid
  @Operator = operator
end

Instance Attribute Details

#LimitObject

Parameters:

  • Limit:

    一页多少条数据,默认是20条,最大不超过1000

  • Offset:

    第多少页,默认是1

  • VoucherId:

    代金券id

  • Operator:

    操作人,默认就是用户uin



9780
9781
9782
# File 'lib/v20180709/models.rb', line 9780

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Limit:

    一页多少条数据,默认是20条,最大不超过1000

  • Offset:

    第多少页,默认是1

  • VoucherId:

    代金券id

  • Operator:

    操作人,默认就是用户uin



9780
9781
9782
# File 'lib/v20180709/models.rb', line 9780

def Offset
  @Offset
end

#OperatorObject

Parameters:

  • Limit:

    一页多少条数据,默认是20条,最大不超过1000

  • Offset:

    第多少页,默认是1

  • VoucherId:

    代金券id

  • Operator:

    操作人,默认就是用户uin



9780
9781
9782
# File 'lib/v20180709/models.rb', line 9780

def Operator
  @Operator
end

#VoucherIdObject

Parameters:

  • Limit:

    一页多少条数据,默认是20条,最大不超过1000

  • Offset:

    第多少页,默认是1

  • VoucherId:

    代金券id

  • Operator:

    操作人,默认就是用户uin



9780
9781
9782
# File 'lib/v20180709/models.rb', line 9780

def VoucherId
  @VoucherId
end

Instance Method Details

#deserialize(params) ⇒ Object



9789
9790
9791
9792
9793
9794
# File 'lib/v20180709/models.rb', line 9789

def deserialize(params)
  @Limit = params['Limit']
  @Offset = params['Offset']
  @VoucherId = params['VoucherId']
  @Operator = params['Operator']
end