Class: TencentCloud::Bizlive::V20190313::RegisterIMRequest

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

Overview

RegisterIM请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nickname = nil, userid = nil, headimgurl = nil, level = nil) ⇒ RegisterIMRequest

Returns a new instance of RegisterIMRequest.



274
275
276
277
278
279
# File 'lib/v20190313/models.rb', line 274

def initialize(nickname=nil, userid=nil, headimgurl=nil, level=nil)
  @Nickname = nickname
  @UserId = userid
  @HeadImgUrl = headimgurl
  @Level = level
end

Instance Attribute Details

#HeadImgUrlObject

Parameters:

  • Nickname:

    用户昵称

  • UserId:

    用户唯一ID,建议采用用户小程序OpenID加盐形式

  • HeadImgUrl:

    用户头像URL

  • Level:

    用户身份,默认值:0,表示无特殊身份



272
273
274
# File 'lib/v20190313/models.rb', line 272

def HeadImgUrl
  @HeadImgUrl
end

#LevelObject

Parameters:

  • Nickname:

    用户昵称

  • UserId:

    用户唯一ID,建议采用用户小程序OpenID加盐形式

  • HeadImgUrl:

    用户头像URL

  • Level:

    用户身份,默认值:0,表示无特殊身份



272
273
274
# File 'lib/v20190313/models.rb', line 272

def Level
  @Level
end

#NicknameObject

Parameters:

  • Nickname:

    用户昵称

  • UserId:

    用户唯一ID,建议采用用户小程序OpenID加盐形式

  • HeadImgUrl:

    用户头像URL

  • Level:

    用户身份,默认值:0,表示无特殊身份



272
273
274
# File 'lib/v20190313/models.rb', line 272

def Nickname
  @Nickname
end

#UserIdObject

Parameters:

  • Nickname:

    用户昵称

  • UserId:

    用户唯一ID,建议采用用户小程序OpenID加盐形式

  • HeadImgUrl:

    用户头像URL

  • Level:

    用户身份,默认值:0,表示无特殊身份



272
273
274
# File 'lib/v20190313/models.rb', line 272

def UserId
  @UserId
end

Instance Method Details

#deserialize(params) ⇒ Object



281
282
283
284
285
286
# File 'lib/v20190313/models.rb', line 281

def deserialize(params)
  @Nickname = params['Nickname']
  @UserId = params['UserId']
  @HeadImgUrl = params['HeadImgUrl']
  @Level = params['Level']
end