Class: TencentCloud::Ciam::V20220331::CreateUserRequest

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

Overview

CreateUser请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(userstoreid = nil, phonenumber = nil, email = nil, password = nil, username = nil, nickname = nil, address = nil, usergroup = nil, birthdate = nil, customizationattributes = nil, indexedattribute1 = nil, indexedattribute2 = nil, indexedattribute3 = nil, indexedattribute4 = nil, indexedattribute5 = nil) ⇒ CreateUserRequest

Returns a new instance of CreateUserRequest.



244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
# File 'lib/v20220331/models.rb', line 244

def initialize(userstoreid=nil, phonenumber=nil, email=nil, password=nil, username=nil, nickname=nil, address=nil, usergroup=nil, birthdate=nil, customizationattributes=nil, indexedattribute1=nil, indexedattribute2=nil, indexedattribute3=nil, indexedattribute4=nil, indexedattribute5=nil)
  @UserStoreId = userstoreid
  @PhoneNumber = phonenumber
  @Email = email
  @Password = password
  @UserName = username
  @Nickname = nickname
  @Address = address
  @UserGroup = usergroup
  @Birthdate = birthdate
  @CustomizationAttributes = customizationattributes
  @IndexedAttribute1 = indexedattribute1
  @IndexedAttribute2 = indexedattribute2
  @IndexedAttribute3 = indexedattribute3
  @IndexedAttribute4 = indexedattribute4
  @IndexedAttribute5 = indexedattribute5
end

Instance Attribute Details

#AddressObject

Parameters:

  • UserStoreId:

    用户目录ID

  • PhoneNumber:

    手机号码

  • Email:

    邮箱

  • Password:

    密码

  • UserName:

    用户名

  • Nickname:

    昵称

  • Address:

    地址

  • UserGroup:

    用户组ID

  • Birthdate:

    生日

  • CustomizationAttributes:

    自定义属性

  • IndexedAttribute1:

    索引字段1

  • IndexedAttribute2:

    索引字段2

  • IndexedAttribute3:

    索引字段3

  • IndexedAttribute4:

    索引字段4

  • IndexedAttribute5:

    索引字段5



242
243
244
# File 'lib/v20220331/models.rb', line 242

def Address
  @Address
end

#BirthdateObject

Parameters:

  • UserStoreId:

    用户目录ID

  • PhoneNumber:

    手机号码

  • Email:

    邮箱

  • Password:

    密码

  • UserName:

    用户名

  • Nickname:

    昵称

  • Address:

    地址

  • UserGroup:

    用户组ID

  • Birthdate:

    生日

  • CustomizationAttributes:

    自定义属性

  • IndexedAttribute1:

    索引字段1

  • IndexedAttribute2:

    索引字段2

  • IndexedAttribute3:

    索引字段3

  • IndexedAttribute4:

    索引字段4

  • IndexedAttribute5:

    索引字段5



242
243
244
# File 'lib/v20220331/models.rb', line 242

def Birthdate
  @Birthdate
end

#CustomizationAttributesObject

Parameters:

  • UserStoreId:

    用户目录ID

  • PhoneNumber:

    手机号码

  • Email:

    邮箱

  • Password:

    密码

  • UserName:

    用户名

  • Nickname:

    昵称

  • Address:

    地址

  • UserGroup:

    用户组ID

  • Birthdate:

    生日

  • CustomizationAttributes:

    自定义属性

  • IndexedAttribute1:

    索引字段1

  • IndexedAttribute2:

    索引字段2

  • IndexedAttribute3:

    索引字段3

  • IndexedAttribute4:

    索引字段4

  • IndexedAttribute5:

    索引字段5



242
243
244
# File 'lib/v20220331/models.rb', line 242

def CustomizationAttributes
  @CustomizationAttributes
end

#EmailObject

Parameters:

  • UserStoreId:

    用户目录ID

  • PhoneNumber:

    手机号码

  • Email:

    邮箱

  • Password:

    密码

  • UserName:

    用户名

  • Nickname:

    昵称

  • Address:

    地址

  • UserGroup:

    用户组ID

  • Birthdate:

    生日

  • CustomizationAttributes:

    自定义属性

  • IndexedAttribute1:

    索引字段1

  • IndexedAttribute2:

    索引字段2

  • IndexedAttribute3:

    索引字段3

  • IndexedAttribute4:

    索引字段4

  • IndexedAttribute5:

    索引字段5



242
243
244
# File 'lib/v20220331/models.rb', line 242

def Email
  @Email
end

#IndexedAttribute1Object

Parameters:

  • UserStoreId:

    用户目录ID

  • PhoneNumber:

    手机号码

  • Email:

    邮箱

  • Password:

    密码

  • UserName:

    用户名

  • Nickname:

    昵称

  • Address:

    地址

  • UserGroup:

    用户组ID

  • Birthdate:

    生日

  • CustomizationAttributes:

    自定义属性

  • IndexedAttribute1:

    索引字段1

  • IndexedAttribute2:

    索引字段2

  • IndexedAttribute3:

    索引字段3

  • IndexedAttribute4:

    索引字段4

  • IndexedAttribute5:

    索引字段5



242
243
244
# File 'lib/v20220331/models.rb', line 242

def IndexedAttribute1
  @IndexedAttribute1
end

#IndexedAttribute2Object

Parameters:

  • UserStoreId:

    用户目录ID

  • PhoneNumber:

    手机号码

  • Email:

    邮箱

  • Password:

    密码

  • UserName:

    用户名

  • Nickname:

    昵称

  • Address:

    地址

  • UserGroup:

    用户组ID

  • Birthdate:

    生日

  • CustomizationAttributes:

    自定义属性

  • IndexedAttribute1:

    索引字段1

  • IndexedAttribute2:

    索引字段2

  • IndexedAttribute3:

    索引字段3

  • IndexedAttribute4:

    索引字段4

  • IndexedAttribute5:

    索引字段5



242
243
244
# File 'lib/v20220331/models.rb', line 242

def IndexedAttribute2
  @IndexedAttribute2
end

#IndexedAttribute3Object

Parameters:

  • UserStoreId:

    用户目录ID

  • PhoneNumber:

    手机号码

  • Email:

    邮箱

  • Password:

    密码

  • UserName:

    用户名

  • Nickname:

    昵称

  • Address:

    地址

  • UserGroup:

    用户组ID

  • Birthdate:

    生日

  • CustomizationAttributes:

    自定义属性

  • IndexedAttribute1:

    索引字段1

  • IndexedAttribute2:

    索引字段2

  • IndexedAttribute3:

    索引字段3

  • IndexedAttribute4:

    索引字段4

  • IndexedAttribute5:

    索引字段5



242
243
244
# File 'lib/v20220331/models.rb', line 242

def IndexedAttribute3
  @IndexedAttribute3
end

#IndexedAttribute4Object

Parameters:

  • UserStoreId:

    用户目录ID

  • PhoneNumber:

    手机号码

  • Email:

    邮箱

  • Password:

    密码

  • UserName:

    用户名

  • Nickname:

    昵称

  • Address:

    地址

  • UserGroup:

    用户组ID

  • Birthdate:

    生日

  • CustomizationAttributes:

    自定义属性

  • IndexedAttribute1:

    索引字段1

  • IndexedAttribute2:

    索引字段2

  • IndexedAttribute3:

    索引字段3

  • IndexedAttribute4:

    索引字段4

  • IndexedAttribute5:

    索引字段5



242
243
244
# File 'lib/v20220331/models.rb', line 242

def IndexedAttribute4
  @IndexedAttribute4
end

#IndexedAttribute5Object

Parameters:

  • UserStoreId:

    用户目录ID

  • PhoneNumber:

    手机号码

  • Email:

    邮箱

  • Password:

    密码

  • UserName:

    用户名

  • Nickname:

    昵称

  • Address:

    地址

  • UserGroup:

    用户组ID

  • Birthdate:

    生日

  • CustomizationAttributes:

    自定义属性

  • IndexedAttribute1:

    索引字段1

  • IndexedAttribute2:

    索引字段2

  • IndexedAttribute3:

    索引字段3

  • IndexedAttribute4:

    索引字段4

  • IndexedAttribute5:

    索引字段5



242
243
244
# File 'lib/v20220331/models.rb', line 242

def IndexedAttribute5
  @IndexedAttribute5
end

#NicknameObject

Parameters:

  • UserStoreId:

    用户目录ID

  • PhoneNumber:

    手机号码

  • Email:

    邮箱

  • Password:

    密码

  • UserName:

    用户名

  • Nickname:

    昵称

  • Address:

    地址

  • UserGroup:

    用户组ID

  • Birthdate:

    生日

  • CustomizationAttributes:

    自定义属性

  • IndexedAttribute1:

    索引字段1

  • IndexedAttribute2:

    索引字段2

  • IndexedAttribute3:

    索引字段3

  • IndexedAttribute4:

    索引字段4

  • IndexedAttribute5:

    索引字段5



242
243
244
# File 'lib/v20220331/models.rb', line 242

def Nickname
  @Nickname
end

#PasswordObject

Parameters:

  • UserStoreId:

    用户目录ID

  • PhoneNumber:

    手机号码

  • Email:

    邮箱

  • Password:

    密码

  • UserName:

    用户名

  • Nickname:

    昵称

  • Address:

    地址

  • UserGroup:

    用户组ID

  • Birthdate:

    生日

  • CustomizationAttributes:

    自定义属性

  • IndexedAttribute1:

    索引字段1

  • IndexedAttribute2:

    索引字段2

  • IndexedAttribute3:

    索引字段3

  • IndexedAttribute4:

    索引字段4

  • IndexedAttribute5:

    索引字段5



242
243
244
# File 'lib/v20220331/models.rb', line 242

def Password
  @Password
end

#PhoneNumberObject

Parameters:

  • UserStoreId:

    用户目录ID

  • PhoneNumber:

    手机号码

  • Email:

    邮箱

  • Password:

    密码

  • UserName:

    用户名

  • Nickname:

    昵称

  • Address:

    地址

  • UserGroup:

    用户组ID

  • Birthdate:

    生日

  • CustomizationAttributes:

    自定义属性

  • IndexedAttribute1:

    索引字段1

  • IndexedAttribute2:

    索引字段2

  • IndexedAttribute3:

    索引字段3

  • IndexedAttribute4:

    索引字段4

  • IndexedAttribute5:

    索引字段5



242
243
244
# File 'lib/v20220331/models.rb', line 242

def PhoneNumber
  @PhoneNumber
end

#UserGroupObject

Parameters:

  • UserStoreId:

    用户目录ID

  • PhoneNumber:

    手机号码

  • Email:

    邮箱

  • Password:

    密码

  • UserName:

    用户名

  • Nickname:

    昵称

  • Address:

    地址

  • UserGroup:

    用户组ID

  • Birthdate:

    生日

  • CustomizationAttributes:

    自定义属性

  • IndexedAttribute1:

    索引字段1

  • IndexedAttribute2:

    索引字段2

  • IndexedAttribute3:

    索引字段3

  • IndexedAttribute4:

    索引字段4

  • IndexedAttribute5:

    索引字段5



242
243
244
# File 'lib/v20220331/models.rb', line 242

def UserGroup
  @UserGroup
end

#UserNameObject

Parameters:

  • UserStoreId:

    用户目录ID

  • PhoneNumber:

    手机号码

  • Email:

    邮箱

  • Password:

    密码

  • UserName:

    用户名

  • Nickname:

    昵称

  • Address:

    地址

  • UserGroup:

    用户组ID

  • Birthdate:

    生日

  • CustomizationAttributes:

    自定义属性

  • IndexedAttribute1:

    索引字段1

  • IndexedAttribute2:

    索引字段2

  • IndexedAttribute3:

    索引字段3

  • IndexedAttribute4:

    索引字段4

  • IndexedAttribute5:

    索引字段5



242
243
244
# File 'lib/v20220331/models.rb', line 242

def UserName
  @UserName
end

#UserStoreIdObject

Parameters:

  • UserStoreId:

    用户目录ID

  • PhoneNumber:

    手机号码

  • Email:

    邮箱

  • Password:

    密码

  • UserName:

    用户名

  • Nickname:

    昵称

  • Address:

    地址

  • UserGroup:

    用户组ID

  • Birthdate:

    生日

  • CustomizationAttributes:

    自定义属性

  • IndexedAttribute1:

    索引字段1

  • IndexedAttribute2:

    索引字段2

  • IndexedAttribute3:

    索引字段3

  • IndexedAttribute4:

    索引字段4

  • IndexedAttribute5:

    索引字段5



242
243
244
# File 'lib/v20220331/models.rb', line 242

def UserStoreId
  @UserStoreId
end

Instance Method Details

#deserialize(params) ⇒ Object



262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'lib/v20220331/models.rb', line 262

def deserialize(params)
  @UserStoreId = params['UserStoreId']
  @PhoneNumber = params['PhoneNumber']
  @Email = params['Email']
  @Password = params['Password']
  @UserName = params['UserName']
  @Nickname = params['Nickname']
  @Address = params['Address']
  @UserGroup = params['UserGroup']
  @Birthdate = params['Birthdate']
  unless params['CustomizationAttributes'].nil?
    @CustomizationAttributes = []
    params['CustomizationAttributes'].each do |i|
      membermap_tmp = MemberMap.new
      membermap_tmp.deserialize(i)
      @CustomizationAttributes << membermap_tmp
    end
  end
  @IndexedAttribute1 = params['IndexedAttribute1']
  @IndexedAttribute2 = params['IndexedAttribute2']
  @IndexedAttribute3 = params['IndexedAttribute3']
  @IndexedAttribute4 = params['IndexedAttribute4']
  @IndexedAttribute5 = params['IndexedAttribute5']
end