Class: TencentCloud::Vm::V20210922::User
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vm::V20210922::User
- Defined in:
- lib/v20210922/models.rb
Overview
用户信息
Instance Attribute Summary collapse
-
#AccountType ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。.
-
#Age ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。.
-
#Desc ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。.
-
#Gender ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。.
-
#GroupId ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。.
-
#GroupSize ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。.
-
#HeadUrl ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。.
-
#Level ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。.
-
#Nickname ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。.
-
#Phone ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。.
-
#ReceiverId ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。.
-
#RoomId ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。.
-
#SendTime ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。.
-
#UserId ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(userid = nil, accounttype = nil, nickname = nil, gender = nil, age = nil, level = nil, phone = nil, desc = nil, headurl = nil, roomid = nil, groupid = nil, groupsize = nil, receiverid = nil, sendtime = nil) ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize(userid = nil, accounttype = nil, nickname = nil, gender = nil, age = nil, level = nil, phone = nil, desc = nil, headurl = nil, roomid = nil, groupid = nil, groupsize = nil, receiverid = nil, sendtime = nil) ⇒ User
Returns a new instance of User.
1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 |
# File 'lib/v20210922/models.rb', line 1549 def initialize(userid=nil, accounttype=nil, nickname=nil, gender=nil, age=nil, level=nil, phone=nil, desc=nil, headurl=nil, roomid=nil, groupid=nil, groupsize=nil, receiverid=nil, sendtime=nil) @UserId = userid @AccountType = accounttype @Nickname = nickname @Gender = gender @Age = age @Level = level @Phone = phone @Desc = desc @HeadUrl = headurl @RoomId = roomid @GroupId = groupid @GroupSize = groupsize @ReceiverId = receiverid @SendTime = sendtime end |
Instance Attribute Details
#AccountType ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。
1547 1548 1549 |
# File 'lib/v20210922/models.rb', line 1547 def AccountType @AccountType end |
#Age ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。
1547 1548 1549 |
# File 'lib/v20210922/models.rb', line 1547 def Age @Age end |
#Desc ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。
1547 1548 1549 |
# File 'lib/v20210922/models.rb', line 1547 def Desc @Desc end |
#Gender ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。
1547 1548 1549 |
# File 'lib/v20210922/models.rb', line 1547 def Gender @Gender end |
#GroupId ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。
1547 1548 1549 |
# File 'lib/v20210922/models.rb', line 1547 def GroupId @GroupId end |
#GroupSize ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。
1547 1548 1549 |
# File 'lib/v20210922/models.rb', line 1547 def GroupSize @GroupSize end |
#HeadUrl ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。
1547 1548 1549 |
# File 'lib/v20210922/models.rb', line 1547 def HeadUrl @HeadUrl end |
#Level ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。
1547 1548 1549 |
# File 'lib/v20210922/models.rb', line 1547 def Level @Level end |
#Nickname ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。
1547 1548 1549 |
# File 'lib/v20210922/models.rb', line 1547 def Nickname @Nickname end |
#Phone ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。
1547 1548 1549 |
# File 'lib/v20210922/models.rb', line 1547 def Phone @Phone end |
#ReceiverId ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。
1547 1548 1549 |
# File 'lib/v20210922/models.rb', line 1547 def ReceiverId @ReceiverId end |
#RoomId ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。
1547 1548 1549 |
# File 'lib/v20210922/models.rb', line 1547 def RoomId @RoomId end |
#SendTime ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。
1547 1548 1549 |
# File 'lib/v20210922/models.rb', line 1547 def SendTime @SendTime end |
#UserId ⇒ Object
该字段与账号ID参数(UserId)配合使用可确定唯一账号。
1547 1548 1549 |
# File 'lib/v20210922/models.rb', line 1547 def UserId @UserId end |
Instance Method Details
#deserialize(params) ⇒ Object
1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 |
# File 'lib/v20210922/models.rb', line 1566 def deserialize(params) @UserId = params['UserId'] @AccountType = params['AccountType'] @Nickname = params['Nickname'] @Gender = params['Gender'] @Age = params['Age'] @Level = params['Level'] @Phone = params['Phone'] @Desc = params['Desc'] @HeadUrl = params['HeadUrl'] @RoomId = params['RoomId'] @GroupId = params['GroupId'] @GroupSize = params['GroupSize'] @ReceiverId = params['ReceiverId'] @SendTime = params['SendTime'] end |