Class: TencentCloud::Tcb::V20180608::User
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::User
- Defined in:
- lib/v20180608/models.rb
Overview
用户信息
Instance Attribute Summary collapse
- #AvatarUrl ⇒ Object
- #Description ⇒ Object
- #Email ⇒ Object
- #Name ⇒ Object
- #NickName ⇒ Object
- #Phone ⇒ Object
- #Type ⇒ Object
- #Uid ⇒ Object
- #UserStatus ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(uid = nil, name = nil, type = nil, userstatus = nil, nickname = nil, phone = nil, email = nil, avatarurl = nil, description = nil) ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize(uid = nil, name = nil, type = nil, userstatus = nil, nickname = nil, phone = nil, email = nil, avatarurl = nil, description = nil) ⇒ User
Returns a new instance of User.
8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 |
# File 'lib/v20180608/models.rb', line 8943 def initialize(uid=nil, name=nil, type=nil, userstatus=nil, nickname=nil, phone=nil, email=nil, avatarurl=nil, description=nil) @Uid = uid @Name = name @Type = type @UserStatus = userstatus @NickName = nickname @Phone = phone @Email = email @AvatarUrl = avatarurl @Description = description end |
Instance Attribute Details
#AvatarUrl ⇒ Object
8941 8942 8943 |
# File 'lib/v20180608/models.rb', line 8941 def AvatarUrl @AvatarUrl end |
#Description ⇒ Object
8941 8942 8943 |
# File 'lib/v20180608/models.rb', line 8941 def Description @Description end |
#Email ⇒ Object
8941 8942 8943 |
# File 'lib/v20180608/models.rb', line 8941 def Email @Email end |
#Name ⇒ Object
8941 8942 8943 |
# File 'lib/v20180608/models.rb', line 8941 def Name @Name end |
#NickName ⇒ Object
8941 8942 8943 |
# File 'lib/v20180608/models.rb', line 8941 def NickName @NickName end |
#Phone ⇒ Object
8941 8942 8943 |
# File 'lib/v20180608/models.rb', line 8941 def Phone @Phone end |
#Type ⇒ Object
8941 8942 8943 |
# File 'lib/v20180608/models.rb', line 8941 def Type @Type end |
#Uid ⇒ Object
8941 8942 8943 |
# File 'lib/v20180608/models.rb', line 8941 def Uid @Uid end |
#UserStatus ⇒ Object
8941 8942 8943 |
# File 'lib/v20180608/models.rb', line 8941 def UserStatus @UserStatus end |
Instance Method Details
#deserialize(params) ⇒ Object
8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 |
# File 'lib/v20180608/models.rb', line 8955 def deserialize(params) @Uid = params['Uid'] @Name = params['Name'] @Type = params['Type'] @UserStatus = params['UserStatus'] @NickName = params['NickName'] @Phone = params['Phone'] @Email = params['Email'] @AvatarUrl = params['AvatarUrl'] @Description = params['Description'] end |