Class: TencentCloud::Trdp::V20220726::UserInfo

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

Overview

用户信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ip = nil, channelsource = nil, platform = nil, name = nil, age = nil, gender = nil, residentidentitycard = nil, email = nil, address = nil, nickname = nil) ⇒ UserInfo

Returns a new instance of UserInfo.



547
548
549
550
551
552
553
554
555
556
557
558
# File 'lib/v20220726/models.rb', line 547

def initialize(ip=nil, channelsource=nil, platform=nil, name=nil, age=nil, gender=nil, residentidentitycard=nil, email=nil, address=nil, nickname=nil)
  @Ip = ip
  @ChannelSource = channelsource
  @Platform = platform
  @Name = name
  @Age = age
  @Gender = gender
  @ResidentIdentityCard = residentidentitycard
  @Email = email
  @Address = address
  @Nickname = nickname
end

Instance Attribute Details

#AddressObject

male(男)female(女)

Parameters:

  • Ip:

    用户外网IP地址

  • ChannelSource:

    来源渠道编码

  • Platform:

    用户登录平台。1:Android 2:iOS 3:H5 4:小程序

  • Name:

    姓名

  • Age:

    年龄

  • Gender:

    性别:

  • ResidentIdentityCard:

    身份证号

  • Email:

    邮箱地址

  • Address:

    用户地址

  • Nickname:

    用户昵称



545
546
547
# File 'lib/v20220726/models.rb', line 545

def Address
  @Address
end

#AgeObject

male(男)female(女)

Parameters:

  • Ip:

    用户外网IP地址

  • ChannelSource:

    来源渠道编码

  • Platform:

    用户登录平台。1:Android 2:iOS 3:H5 4:小程序

  • Name:

    姓名

  • Age:

    年龄

  • Gender:

    性别:

  • ResidentIdentityCard:

    身份证号

  • Email:

    邮箱地址

  • Address:

    用户地址

  • Nickname:

    用户昵称



545
546
547
# File 'lib/v20220726/models.rb', line 545

def Age
  @Age
end

#ChannelSourceObject

male(男)female(女)

Parameters:

  • Ip:

    用户外网IP地址

  • ChannelSource:

    来源渠道编码

  • Platform:

    用户登录平台。1:Android 2:iOS 3:H5 4:小程序

  • Name:

    姓名

  • Age:

    年龄

  • Gender:

    性别:

  • ResidentIdentityCard:

    身份证号

  • Email:

    邮箱地址

  • Address:

    用户地址

  • Nickname:

    用户昵称



545
546
547
# File 'lib/v20220726/models.rb', line 545

def ChannelSource
  @ChannelSource
end

#EmailObject

male(男)female(女)

Parameters:

  • Ip:

    用户外网IP地址

  • ChannelSource:

    来源渠道编码

  • Platform:

    用户登录平台。1:Android 2:iOS 3:H5 4:小程序

  • Name:

    姓名

  • Age:

    年龄

  • Gender:

    性别:

  • ResidentIdentityCard:

    身份证号

  • Email:

    邮箱地址

  • Address:

    用户地址

  • Nickname:

    用户昵称



545
546
547
# File 'lib/v20220726/models.rb', line 545

def Email
  @Email
end

#GenderObject

male(男)female(女)

Parameters:

  • Ip:

    用户外网IP地址

  • ChannelSource:

    来源渠道编码

  • Platform:

    用户登录平台。1:Android 2:iOS 3:H5 4:小程序

  • Name:

    姓名

  • Age:

    年龄

  • Gender:

    性别:

  • ResidentIdentityCard:

    身份证号

  • Email:

    邮箱地址

  • Address:

    用户地址

  • Nickname:

    用户昵称



545
546
547
# File 'lib/v20220726/models.rb', line 545

def Gender
  @Gender
end

#IpObject

male(男)female(女)

Parameters:

  • Ip:

    用户外网IP地址

  • ChannelSource:

    来源渠道编码

  • Platform:

    用户登录平台。1:Android 2:iOS 3:H5 4:小程序

  • Name:

    姓名

  • Age:

    年龄

  • Gender:

    性别:

  • ResidentIdentityCard:

    身份证号

  • Email:

    邮箱地址

  • Address:

    用户地址

  • Nickname:

    用户昵称



545
546
547
# File 'lib/v20220726/models.rb', line 545

def Ip
  @Ip
end

#NameObject

male(男)female(女)

Parameters:

  • Ip:

    用户外网IP地址

  • ChannelSource:

    来源渠道编码

  • Platform:

    用户登录平台。1:Android 2:iOS 3:H5 4:小程序

  • Name:

    姓名

  • Age:

    年龄

  • Gender:

    性别:

  • ResidentIdentityCard:

    身份证号

  • Email:

    邮箱地址

  • Address:

    用户地址

  • Nickname:

    用户昵称



545
546
547
# File 'lib/v20220726/models.rb', line 545

def Name
  @Name
end

#NicknameObject

male(男)female(女)

Parameters:

  • Ip:

    用户外网IP地址

  • ChannelSource:

    来源渠道编码

  • Platform:

    用户登录平台。1:Android 2:iOS 3:H5 4:小程序

  • Name:

    姓名

  • Age:

    年龄

  • Gender:

    性别:

  • ResidentIdentityCard:

    身份证号

  • Email:

    邮箱地址

  • Address:

    用户地址

  • Nickname:

    用户昵称



545
546
547
# File 'lib/v20220726/models.rb', line 545

def Nickname
  @Nickname
end

#PlatformObject

male(男)female(女)

Parameters:

  • Ip:

    用户外网IP地址

  • ChannelSource:

    来源渠道编码

  • Platform:

    用户登录平台。1:Android 2:iOS 3:H5 4:小程序

  • Name:

    姓名

  • Age:

    年龄

  • Gender:

    性别:

  • ResidentIdentityCard:

    身份证号

  • Email:

    邮箱地址

  • Address:

    用户地址

  • Nickname:

    用户昵称



545
546
547
# File 'lib/v20220726/models.rb', line 545

def Platform
  @Platform
end

#ResidentIdentityCardObject

male(男)female(女)

Parameters:

  • Ip:

    用户外网IP地址

  • ChannelSource:

    来源渠道编码

  • Platform:

    用户登录平台。1:Android 2:iOS 3:H5 4:小程序

  • Name:

    姓名

  • Age:

    年龄

  • Gender:

    性别:

  • ResidentIdentityCard:

    身份证号

  • Email:

    邮箱地址

  • Address:

    用户地址

  • Nickname:

    用户昵称



545
546
547
# File 'lib/v20220726/models.rb', line 545

def ResidentIdentityCard
  @ResidentIdentityCard
end

Instance Method Details

#deserialize(params) ⇒ Object



560
561
562
563
564
565
566
567
568
569
570
571
# File 'lib/v20220726/models.rb', line 560

def deserialize(params)
  @Ip = params['Ip']
  @ChannelSource = params['ChannelSource']
  @Platform = params['Platform']
  @Name = params['Name']
  @Age = params['Age']
  @Gender = params['Gender']
  @ResidentIdentityCard = params['ResidentIdentityCard']
  @Email = params['Email']
  @Address = params['Address']
  @Nickname = params['Nickname']
end