Class: TencentCloud::Yinsuda::V20220527::RechargeVipRequest

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

Overview

RechargeVip请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(appname = nil, userid = nil, roomid = nil, vipdays = nil, anchorid = nil) ⇒ RechargeVipRequest

Returns a new instance of RechargeVipRequest.



1715
1716
1717
1718
1719
1720
1721
# File 'lib/v20220527/models.rb', line 1715

def initialize(appname=nil, userid=nil, roomid=nil, vipdays=nil, anchorid=nil)
  @AppName = appname
  @UserId = userid
  @RoomId = roomid
  @VipDays = vipdays
  @AnchorId = anchorid
end

Instance Attribute Details

#AnchorIdObject

Parameters:

  • AppName:

    应用名称。

  • UserId:

    用户标识。

  • RoomId:

    房间Id。

  • VipDays:

    充值会员天数。(取值有:31、93、186、372)

  • AnchorId:

    主播id。



1713
1714
1715
# File 'lib/v20220527/models.rb', line 1713

def AnchorId
  @AnchorId
end

#AppNameObject

Parameters:

  • AppName:

    应用名称。

  • UserId:

    用户标识。

  • RoomId:

    房间Id。

  • VipDays:

    充值会员天数。(取值有:31、93、186、372)

  • AnchorId:

    主播id。



1713
1714
1715
# File 'lib/v20220527/models.rb', line 1713

def AppName
  @AppName
end

#RoomIdObject

Parameters:

  • AppName:

    应用名称。

  • UserId:

    用户标识。

  • RoomId:

    房间Id。

  • VipDays:

    充值会员天数。(取值有:31、93、186、372)

  • AnchorId:

    主播id。



1713
1714
1715
# File 'lib/v20220527/models.rb', line 1713

def RoomId
  @RoomId
end

#UserIdObject

Parameters:

  • AppName:

    应用名称。

  • UserId:

    用户标识。

  • RoomId:

    房间Id。

  • VipDays:

    充值会员天数。(取值有:31、93、186、372)

  • AnchorId:

    主播id。



1713
1714
1715
# File 'lib/v20220527/models.rb', line 1713

def UserId
  @UserId
end

#VipDaysObject

Parameters:

  • AppName:

    应用名称。

  • UserId:

    用户标识。

  • RoomId:

    房间Id。

  • VipDays:

    充值会员天数。(取值有:31、93、186、372)

  • AnchorId:

    主播id。



1713
1714
1715
# File 'lib/v20220527/models.rb', line 1713

def VipDays
  @VipDays
end

Instance Method Details

#deserialize(params) ⇒ Object



1723
1724
1725
1726
1727
1728
1729
# File 'lib/v20220527/models.rb', line 1723

def deserialize(params)
  @AppName = params['AppName']
  @UserId = params['UserId']
  @RoomId = params['RoomId']
  @VipDays = params['VipDays']
  @AnchorId = params['AnchorId']
end