Class: TencentCloud::Ams::V20201229::User
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ams::V20201229::User
- Defined in:
- lib/v20201229/models.rb
Overview
User结果
Instance Attribute Summary collapse
- #AccountType ⇒ Object
- #Age ⇒ Object
- #Desc ⇒ Object
- #Gender ⇒ Object
- #GroupId ⇒ Object
- #GroupSize ⇒ Object
- #HeadUrl ⇒ Object
- #Level ⇒ Object
- #Nickname ⇒ Object
- #Phone ⇒ Object
- #ReceiverId ⇒ Object
- #RoomId ⇒ Object
- #SendTime ⇒ Object
- #UserId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(level = nil, gender = nil, age = nil, userid = nil, phone = nil, accounttype = nil, nickname = nil, headurl = nil, desc = nil, roomid = nil, groupid = nil, groupsize = nil, receiverid = nil, sendtime = nil) ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize(level = nil, gender = nil, age = nil, userid = nil, phone = nil, accounttype = nil, nickname = nil, headurl = nil, desc = nil, roomid = nil, groupid = nil, groupsize = nil, receiverid = nil, sendtime = nil) ⇒ User
Returns a new instance of User.
1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 |
# File 'lib/v20201229/models.rb', line 1481 def initialize(level=nil, gender=nil, age=nil, userid=nil, phone=nil, accounttype=nil, nickname=nil, headurl=nil, desc=nil, roomid=nil, groupid=nil, groupsize=nil, receiverid=nil, sendtime=nil) @Level = level @Gender = gender @Age = age @UserId = userid @Phone = phone @AccountType = accounttype @Nickname = nickname @HeadUrl = headurl @Desc = desc @RoomId = roomid @GroupId = groupid @GroupSize = groupsize @ReceiverId = receiverid @SendTime = sendtime end |
Instance Attribute Details
#AccountType ⇒ Object
1479 1480 1481 |
# File 'lib/v20201229/models.rb', line 1479 def AccountType @AccountType end |
#Age ⇒ Object
1479 1480 1481 |
# File 'lib/v20201229/models.rb', line 1479 def Age @Age end |
#Desc ⇒ Object
1479 1480 1481 |
# File 'lib/v20201229/models.rb', line 1479 def Desc @Desc end |
#Gender ⇒ Object
1479 1480 1481 |
# File 'lib/v20201229/models.rb', line 1479 def Gender @Gender end |
#GroupId ⇒ Object
1479 1480 1481 |
# File 'lib/v20201229/models.rb', line 1479 def GroupId @GroupId end |
#GroupSize ⇒ Object
1479 1480 1481 |
# File 'lib/v20201229/models.rb', line 1479 def GroupSize @GroupSize end |
#HeadUrl ⇒ Object
1479 1480 1481 |
# File 'lib/v20201229/models.rb', line 1479 def HeadUrl @HeadUrl end |
#Level ⇒ Object
1479 1480 1481 |
# File 'lib/v20201229/models.rb', line 1479 def Level @Level end |
#Nickname ⇒ Object
1479 1480 1481 |
# File 'lib/v20201229/models.rb', line 1479 def Nickname @Nickname end |
#Phone ⇒ Object
1479 1480 1481 |
# File 'lib/v20201229/models.rb', line 1479 def Phone @Phone end |
#ReceiverId ⇒ Object
1479 1480 1481 |
# File 'lib/v20201229/models.rb', line 1479 def ReceiverId @ReceiverId end |
#RoomId ⇒ Object
1479 1480 1481 |
# File 'lib/v20201229/models.rb', line 1479 def RoomId @RoomId end |
#SendTime ⇒ Object
1479 1480 1481 |
# File 'lib/v20201229/models.rb', line 1479 def SendTime @SendTime end |
#UserId ⇒ Object
1479 1480 1481 |
# File 'lib/v20201229/models.rb', line 1479 def UserId @UserId end |
Instance Method Details
#deserialize(params) ⇒ Object
1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 |
# File 'lib/v20201229/models.rb', line 1498 def deserialize(params) @Level = params['Level'] @Gender = params['Gender'] @Age = params['Age'] @UserId = params['UserId'] @Phone = params['Phone'] @AccountType = params['AccountType'] @Nickname = params['Nickname'] @HeadUrl = params['HeadUrl'] @Desc = params['Desc'] @RoomId = params['RoomId'] @GroupId = params['GroupId'] @GroupSize = params['GroupSize'] @ReceiverId = params['ReceiverId'] @SendTime = params['SendTime'] end |