Class: TencentCloud::Yinsuda::V20220527::RechargeVipRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yinsuda::V20220527::RechargeVipRequest
- Defined in:
- lib/v20220527/models.rb
Overview
RechargeVip请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(appname = nil, userid = nil, roomid = nil, vipdays = nil, anchorid = nil) ⇒ RechargeVipRequest
constructor
A new instance of RechargeVipRequest.
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
#AnchorId ⇒ Object
1713 1714 1715 |
# File 'lib/v20220527/models.rb', line 1713 def AnchorId @AnchorId end |
#AppName ⇒ Object
1713 1714 1715 |
# File 'lib/v20220527/models.rb', line 1713 def AppName @AppName end |
#RoomId ⇒ Object
1713 1714 1715 |
# File 'lib/v20220527/models.rb', line 1713 def RoomId @RoomId end |
#UserId ⇒ Object
1713 1714 1715 |
# File 'lib/v20220527/models.rb', line 1713 def UserId @UserId end |
#VipDays ⇒ Object
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 |