Class: TencentCloud::Cpdp::V20190820::ContractUserInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::ContractUserInfo
- Defined in:
- lib/v20190820/models.rb
Overview
用户信息
Instance Attribute Summary collapse
-
#UserId ⇒ Object
ANONYMOUS: 匿名类型用户ID.
-
#UserType ⇒ Object
ANONYMOUS: 匿名类型用户ID.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(usertype = nil, userid = nil) ⇒ ContractUserInfo
constructor
A new instance of ContractUserInfo.
Constructor Details
#initialize(usertype = nil, userid = nil) ⇒ ContractUserInfo
Returns a new instance of ContractUserInfo.
5220 5221 5222 5223 |
# File 'lib/v20190820/models.rb', line 5220 def initialize(usertype=nil, userid=nil) @UserType = usertype @UserId = userid end |
Instance Attribute Details
#UserId ⇒ Object
ANONYMOUS: 匿名类型用户ID
5218 5219 5220 |
# File 'lib/v20190820/models.rb', line 5218 def UserId @UserId end |
#UserType ⇒ Object
ANONYMOUS: 匿名类型用户ID
5218 5219 5220 |
# File 'lib/v20190820/models.rb', line 5218 def UserType @UserType end |
Instance Method Details
#deserialize(params) ⇒ Object
5225 5226 5227 5228 |
# File 'lib/v20190820/models.rb', line 5225 def deserialize(params) @UserType = params['UserType'] @UserId = params['UserId'] end |