Class: TencentCloud::Yinsuda::V20220527::UserInfo

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

Overview

用户信息

Instance Attribute Summary collapse

  • #LiveVipUserInfo ⇒ Object

    注意:此字段可能返回 null,表示取不到有效值。

  • Normal:普通用户
  • LiveVip:直播会员用户
  • .

  • #UserId ⇒ Object

    注意:此字段可能返回 null,表示取不到有效值。

  • Normal:普通用户
  • LiveVip:直播会员用户
  • .

  • #UserType ⇒ Object

    注意:此字段可能返回 null,表示取不到有效值。

  • Normal:普通用户
  • LiveVip:直播会员用户
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(appname = nil, userid = nil, livevipuserinfo = nil, usertype = nil) ⇒ UserInfo

    Returns a new instance of UserInfo.

    
    
    2175
    2176
    2177
    2178
    2179
    2180
    # File 'lib/v20220527/models.rb', line 2175
    
    def initialize(appname=nil, userid=nil, livevipuserinfo=nil, usertype=nil)
      @AppName = appname
      @UserId = userid
      @LiveVipUserInfo = livevipuserinfo
      @UserType = usertype
    end
    

    Instance Attribute Details

    #AppNameObject

    注意:此字段可能返回 null,表示取不到有效值。

  • Normal:普通用户
  • LiveVip:直播会员用户
  • Parameters:

    • AppName:

      应用名称。

    • UserId:

      用户标识。

    • LiveVipUserInfo:

      直播会员详细信息。

    • UserType:

      用户类型

    
    
    2173
    2174
    2175
    # File 'lib/v20220527/models.rb', line 2173
    
    def AppName
      @AppName
    end
    

    #LiveVipUserInfoObject

    注意:此字段可能返回 null,表示取不到有效值。

  • Normal:普通用户
  • LiveVip:直播会员用户
  • Parameters:

    • AppName:

      应用名称。

    • UserId:

      用户标识。

    • LiveVipUserInfo:

      直播会员详细信息。

    • UserType:

      用户类型

    
    
    2173
    2174
    2175
    # File 'lib/v20220527/models.rb', line 2173
    
    def LiveVipUserInfo
      @LiveVipUserInfo
    end
    

    #UserIdObject

    注意:此字段可能返回 null,表示取不到有效值。

  • Normal:普通用户
  • LiveVip:直播会员用户
  • Parameters:

    • AppName:

      应用名称。

    • UserId:

      用户标识。

    • LiveVipUserInfo:

      直播会员详细信息。

    • UserType:

      用户类型

    
    
    2173
    2174
    2175
    # File 'lib/v20220527/models.rb', line 2173
    
    def UserId
      @UserId
    end
    

    #UserTypeObject

    注意:此字段可能返回 null,表示取不到有效值。

  • Normal:普通用户
  • LiveVip:直播会员用户
  • Parameters:

    • AppName:

      应用名称。

    • UserId:

      用户标识。

    • LiveVipUserInfo:

      直播会员详细信息。

    • UserType:

      用户类型

    
    
    2173
    2174
    2175
    # File 'lib/v20220527/models.rb', line 2173
    
    def UserType
      @UserType
    end
    

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    2182
    2183
    2184
    2185
    2186
    2187
    2188
    2189
    2190
    # File 'lib/v20220527/models.rb', line 2182
    
    def deserialize(params)
      @AppName = params['AppName']
      @UserId = params['UserId']
      unless params['LiveVipUserInfo'].nil?
        @LiveVipUserInfo = LiveVipUserInfo.new
        @LiveVipUserInfo.deserialize(params['LiveVipUserInfo'])
      end
      @UserType = params['UserType']
    end