Class: TencentCloud::Irp::V20220805::FeedUserInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Irp::V20220805::FeedUserInfo
- Defined in:
- lib/v20220805/models.rb
Overview
信息流用户信息
Instance Attribute Summary collapse
- #Age ⇒ Object
- #Degree ⇒ Object
- #DislikeInfoList ⇒ Object
- #Extension ⇒ Object
- #Gender ⇒ Object
- #Industry ⇒ Object
- #LastLoginIp ⇒ Object
- #LastLoginTimestamp ⇒ Object
- #LastModifyTimestamp ⇒ Object
- #MembershipLevel ⇒ Object
- #Occupation ⇒ Object
- #RegisterTimestamp ⇒ Object
- #ResidentCity ⇒ Object
- #ResidentCountry ⇒ Object
- #ResidentProvince ⇒ Object
- #School ⇒ Object
- #Tags ⇒ Object
- #UserId ⇒ Object
- #UserIdList ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(userid = nil, useridlist = nil, tags = nil, dislikeinfolist = nil, age = nil, gender = nil, degree = nil, school = nil, occupation = nil, industry = nil, residentcountry = nil, residentprovince = nil, residentcity = nil, registertimestamp = nil, membershiplevel = nil, lastlogintimestamp = nil, lastloginip = nil, lastmodifytimestamp = nil, extension = nil) ⇒ FeedUserInfo
constructor
A new instance of FeedUserInfo.
Constructor Details
#initialize(userid = nil, useridlist = nil, tags = nil, dislikeinfolist = nil, age = nil, gender = nil, degree = nil, school = nil, occupation = nil, industry = nil, residentcountry = nil, residentprovince = nil, residentcity = nil, registertimestamp = nil, membershiplevel = nil, lastlogintimestamp = nil, lastloginip = nil, lastmodifytimestamp = nil, extension = nil) ⇒ FeedUserInfo
Returns a new instance of FeedUserInfo.
466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 |
# File 'lib/v20220805/models.rb', line 466 def initialize(userid=nil, useridlist=nil, =nil, dislikeinfolist=nil, age=nil, gender=nil, degree=nil, school=nil, occupation=nil, industry=nil, residentcountry=nil, residentprovince=nil, residentcity=nil, =nil, membershiplevel=nil, =nil, lastloginip=nil, =nil, extension=nil) @UserId = userid @UserIdList = useridlist @Tags = @DislikeInfoList = dislikeinfolist @Age = age @Gender = gender @Degree = degree @School = school @Occupation = occupation @Industry = industry @ResidentCountry = residentcountry @ResidentProvince = residentprovince @ResidentCity = residentcity @RegisterTimestamp = @MembershipLevel = membershiplevel @LastLoginTimestamp = @LastLoginIp = lastloginip @LastModifyTimestamp = @Extension = extension end |
Instance Attribute Details
#Age ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def Age @Age end |
#Degree ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def Degree @Degree end |
#DislikeInfoList ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def DislikeInfoList @DislikeInfoList end |
#Extension ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def Extension @Extension end |
#Gender ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def Gender @Gender end |
#Industry ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def Industry @Industry end |
#LastLoginIp ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def LastLoginIp @LastLoginIp end |
#LastLoginTimestamp ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def LastLoginTimestamp @LastLoginTimestamp end |
#LastModifyTimestamp ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def LastModifyTimestamp @LastModifyTimestamp end |
#MembershipLevel ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def MembershipLevel @MembershipLevel end |
#Occupation ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def Occupation @Occupation end |
#RegisterTimestamp ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def RegisterTimestamp @RegisterTimestamp end |
#ResidentCity ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def ResidentCity @ResidentCity end |
#ResidentCountry ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def ResidentCountry @ResidentCountry end |
#ResidentProvince ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def ResidentProvince @ResidentProvince end |
#School ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def School @School end |
#Tags ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def Tags @Tags end |
#UserId ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def UserId @UserId end |
#UserIdList ⇒ Object
464 465 466 |
# File 'lib/v20220805/models.rb', line 464 def UserIdList @UserIdList end |
Instance Method Details
#deserialize(params) ⇒ Object
488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'lib/v20220805/models.rb', line 488 def deserialize(params) @UserId = params['UserId'] unless params['UserIdList'].nil? @UserIdList = [] params['UserIdList'].each do |i| useridinfo_tmp = UserIdInfo.new useridinfo_tmp.deserialize(i) @UserIdList << useridinfo_tmp end end @Tags = params['Tags'] unless params['DislikeInfoList'].nil? @DislikeInfoList = [] params['DislikeInfoList'].each do |i| dislikeinfo_tmp = DislikeInfo.new dislikeinfo_tmp.deserialize(i) @DislikeInfoList << dislikeinfo_tmp end end @Age = params['Age'] @Gender = params['Gender'] @Degree = params['Degree'] @School = params['School'] @Occupation = params['Occupation'] @Industry = params['Industry'] @ResidentCountry = params['ResidentCountry'] @ResidentProvince = params['ResidentProvince'] @ResidentCity = params['ResidentCity'] @RegisterTimestamp = params['RegisterTimestamp'] @MembershipLevel = params['MembershipLevel'] @LastLoginTimestamp = params['LastLoginTimestamp'] @LastLoginIp = params['LastLoginIp'] @LastModifyTimestamp = params['LastModifyTimestamp'] @Extension = params['Extension'] end |