Class: TencentCloud::Cpdp::V20190820::ContractUserInfo

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

Overview

用户信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#UserIdObject

ANONYMOUS: 匿名类型用户ID

Parameters:

  • UserType:

    USER_ID: 用户ID

  • UserId:

    用户类型



5218
5219
5220
# File 'lib/v20190820/models.rb', line 5218

def UserId
  @UserId
end

#UserTypeObject

ANONYMOUS: 匿名类型用户ID

Parameters:

  • UserType:

    USER_ID: 用户ID

  • UserId:

    用户类型



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