Class: TencentCloud::Yinsuda::V20220527::RechargeLiveVipRequest

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

Overview

RechargeLiveVip请求参数结构体

Instance Attribute Summary collapse

  • #GiveType ⇒ Object

    取值有:

  • 31
  • 93
  • 186
  • 372
  • Live:直播
  • Chat:语聊
  • .

  • #PlayScene ⇒ Object

    取值有:

  • 31
  • 93
  • 186
  • 372
  • Live:直播
  • Chat:语聊
  • .

  • #RoomId ⇒ Object

    取值有:

  • 31
  • 93
  • 186
  • 372
  • Live:直播
  • Chat:语聊
  • .

  • #TradeSerialNo ⇒ Object

    取值有:

  • 31
  • 93
  • 186
  • 372
  • Live:直播
  • Chat:语聊
  • .

  • #UserId ⇒ Object

    取值有:

  • 31
  • 93
  • 186
  • 372
  • Live:直播
  • Chat:语聊
  • .

  • #VipDays ⇒ Object

    取值有:

  • 31
  • 93
  • 186
  • 372
  • Live:直播
  • Chat:语聊
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(appname = nil, userid = nil, tradeserialno = nil, roomid = nil, vipdays = nil, givetype = nil, playscene = nil) ⇒ RechargeLiveVipRequest

    Returns a new instance of RechargeLiveVipRequest.

    
    
    1656
    1657
    1658
    1659
    1660
    1661
    1662
    1663
    1664
    # File 'lib/v20220527/models.rb', line 1656
    
    def initialize(appname=nil, userid=nil, tradeserialno=nil, roomid=nil, vipdays=nil, givetype=nil, playscene=nil)
      @AppName = appname
      @UserId = userid
      @TradeSerialNo = tradeserialno
      @RoomId = roomid
      @VipDays = vipdays
      @GiveType = givetype
      @PlayScene = playscene
    end

    Instance Attribute Details

    #AppNameObject

    取值有:

  • 31
  • 93
  • 186
  • 372
  • Live:直播
  • Chat:语聊
  • Parameters:

    • AppName:

      应用名称。

    • UserId:

      用户标识。

    • TradeSerialNo:

      交易流水号,用于标记此次充值记录,多次充值记录传入相同的 TradeSerialNo 会判断为失败,可用于防止重提提交造成重复计费。

    • RoomId:

      房间标识。

    • VipDays:

      充值会员天数。

    • GiveType:

      充值分类。取值有:room_card-包月房卡; 其他-保留。

    • PlayScene:

      播放场景。默认为Live

    
    
    1654
    1655
    1656
    # File 'lib/v20220527/models.rb', line 1654
    
    def AppName
      @AppName
    end

    #GiveTypeObject

    取值有:

  • 31
  • 93
  • 186
  • 372
  • Live:直播
  • Chat:语聊
  • Parameters:

    • AppName:

      应用名称。

    • UserId:

      用户标识。

    • TradeSerialNo:

      交易流水号,用于标记此次充值记录,多次充值记录传入相同的 TradeSerialNo 会判断为失败,可用于防止重提提交造成重复计费。

    • RoomId:

      房间标识。

    • VipDays:

      充值会员天数。

    • GiveType:

      充值分类。取值有:room_card-包月房卡; 其他-保留。

    • PlayScene:

      播放场景。默认为Live

    
    
    1654
    1655
    1656
    # File 'lib/v20220527/models.rb', line 1654
    
    def GiveType
      @GiveType
    end

    #PlaySceneObject

    取值有:

  • 31
  • 93
  • 186
  • 372
  • Live:直播
  • Chat:语聊
  • Parameters:

    • AppName:

      应用名称。

    • UserId:

      用户标识。

    • TradeSerialNo:

      交易流水号,用于标记此次充值记录,多次充值记录传入相同的 TradeSerialNo 会判断为失败,可用于防止重提提交造成重复计费。

    • RoomId:

      房间标识。

    • VipDays:

      充值会员天数。

    • GiveType:

      充值分类。取值有:room_card-包月房卡; 其他-保留。

    • PlayScene:

      播放场景。默认为Live

    
    
    1654
    1655
    1656
    # File 'lib/v20220527/models.rb', line 1654
    
    def PlayScene
      @PlayScene
    end

    #RoomIdObject

    取值有:

  • 31
  • 93
  • 186
  • 372
  • Live:直播
  • Chat:语聊
  • Parameters:

    • AppName:

      应用名称。

    • UserId:

      用户标识。

    • TradeSerialNo:

      交易流水号,用于标记此次充值记录,多次充值记录传入相同的 TradeSerialNo 会判断为失败,可用于防止重提提交造成重复计费。

    • RoomId:

      房间标识。

    • VipDays:

      充值会员天数。

    • GiveType:

      充值分类。取值有:room_card-包月房卡; 其他-保留。

    • PlayScene:

      播放场景。默认为Live

    
    
    1654
    1655
    1656
    # File 'lib/v20220527/models.rb', line 1654
    
    def RoomId
      @RoomId
    end

    #TradeSerialNoObject

    取值有:

  • 31
  • 93
  • 186
  • 372
  • Live:直播
  • Chat:语聊
  • Parameters:

    • AppName:

      应用名称。

    • UserId:

      用户标识。

    • TradeSerialNo:

      交易流水号,用于标记此次充值记录,多次充值记录传入相同的 TradeSerialNo 会判断为失败,可用于防止重提提交造成重复计费。

    • RoomId:

      房间标识。

    • VipDays:

      充值会员天数。

    • GiveType:

      充值分类。取值有:room_card-包月房卡; 其他-保留。

    • PlayScene:

      播放场景。默认为Live

    
    
    1654
    1655
    1656
    # File 'lib/v20220527/models.rb', line 1654
    
    def TradeSerialNo
      @TradeSerialNo
    end

    #UserIdObject

    取值有:

  • 31
  • 93
  • 186
  • 372
  • Live:直播
  • Chat:语聊
  • Parameters:

    • AppName:

      应用名称。

    • UserId:

      用户标识。

    • TradeSerialNo:

      交易流水号,用于标记此次充值记录,多次充值记录传入相同的 TradeSerialNo 会判断为失败,可用于防止重提提交造成重复计费。

    • RoomId:

      房间标识。

    • VipDays:

      充值会员天数。

    • GiveType:

      充值分类。取值有:room_card-包月房卡; 其他-保留。

    • PlayScene:

      播放场景。默认为Live

    
    
    1654
    1655
    1656
    # File 'lib/v20220527/models.rb', line 1654
    
    def UserId
      @UserId
    end

    #VipDaysObject

    取值有:

  • 31
  • 93
  • 186
  • 372
  • Live:直播
  • Chat:语聊
  • Parameters:

    • AppName:

      应用名称。

    • UserId:

      用户标识。

    • TradeSerialNo:

      交易流水号,用于标记此次充值记录,多次充值记录传入相同的 TradeSerialNo 会判断为失败,可用于防止重提提交造成重复计费。

    • RoomId:

      房间标识。

    • VipDays:

      充值会员天数。

    • GiveType:

      充值分类。取值有:room_card-包月房卡; 其他-保留。

    • PlayScene:

      播放场景。默认为Live

    
    
    1654
    1655
    1656
    # File 'lib/v20220527/models.rb', line 1654
    
    def VipDays
      @VipDays
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    1666
    1667
    1668
    1669
    1670
    1671
    1672
    1673
    1674
    # File 'lib/v20220527/models.rb', line 1666
    
    def deserialize(params)
      @AppName = params['AppName']
      @UserId = params['UserId']
      @TradeSerialNo = params['TradeSerialNo']
      @RoomId = params['RoomId']
      @VipDays = params['VipDays']
      @GiveType = params['GiveType']
      @PlayScene = params['PlayScene']
    end