Class: TencentCloud::Yinsuda::V20220527::UserInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yinsuda::V20220527::UserInfo
- Defined in:
- lib/v20220527/models.rb
Overview
用户信息
Instance Attribute Summary collapse
-
#AppName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 <li>Normal:普通用户</li> <li>LiveVip:直播会员用户</li>.
-
#LiveVipUserInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 <li>Normal:普通用户</li> <li>LiveVip:直播会员用户</li>.
-
#UserId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 <li>Normal:普通用户</li> <li>LiveVip:直播会员用户</li>.
-
#UserType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 <li>Normal:普通用户</li> <li>LiveVip:直播会员用户</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(appname = nil, userid = nil, livevipuserinfo = nil, usertype = nil) ⇒ UserInfo
constructor
A new instance of UserInfo.
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
#AppName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。<li>Normal:普通用户</li> <li>LiveVip:直播会员用户</li>
2173 2174 2175 |
# File 'lib/v20220527/models.rb', line 2173 def AppName @AppName end |
#LiveVipUserInfo ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。<li>Normal:普通用户</li> <li>LiveVip:直播会员用户</li>
2173 2174 2175 |
# File 'lib/v20220527/models.rb', line 2173 def LiveVipUserInfo @LiveVipUserInfo end |
#UserId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。<li>Normal:普通用户</li> <li>LiveVip:直播会员用户</li>
2173 2174 2175 |
# File 'lib/v20220527/models.rb', line 2173 def UserId @UserId end |
#UserType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。<li>Normal:普通用户</li> <li>LiveVip:直播会员用户</li>
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 |