Class: TencentCloud::Ciam::V20220331::CreateUserRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ciam::V20220331::CreateUserRequest
- Defined in:
- lib/v20220331/models.rb
Overview
CreateUser请求参数结构体
Instance Attribute Summary collapse
- #Address ⇒ Object
- #Birthdate ⇒ Object
- #CustomizationAttributes ⇒ Object
- #Email ⇒ Object
- #IndexedAttribute1 ⇒ Object
- #IndexedAttribute2 ⇒ Object
- #IndexedAttribute3 ⇒ Object
- #IndexedAttribute4 ⇒ Object
- #IndexedAttribute5 ⇒ Object
- #Nickname ⇒ Object
- #Password ⇒ Object
- #PhoneNumber ⇒ Object
- #UserGroup ⇒ Object
- #UserName ⇒ Object
- #UserStoreId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#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
constructor
A new instance of CreateUserRequest.
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
#Address ⇒ Object
242 243 244 |
# File 'lib/v20220331/models.rb', line 242 def Address @Address end |
#Birthdate ⇒ Object
242 243 244 |
# File 'lib/v20220331/models.rb', line 242 def Birthdate @Birthdate end |
#CustomizationAttributes ⇒ Object
242 243 244 |
# File 'lib/v20220331/models.rb', line 242 def CustomizationAttributes @CustomizationAttributes end |
#Email ⇒ Object
242 243 244 |
# File 'lib/v20220331/models.rb', line 242 def Email @Email end |
#IndexedAttribute1 ⇒ Object
242 243 244 |
# File 'lib/v20220331/models.rb', line 242 def IndexedAttribute1 @IndexedAttribute1 end |
#IndexedAttribute2 ⇒ Object
242 243 244 |
# File 'lib/v20220331/models.rb', line 242 def IndexedAttribute2 @IndexedAttribute2 end |
#IndexedAttribute3 ⇒ Object
242 243 244 |
# File 'lib/v20220331/models.rb', line 242 def IndexedAttribute3 @IndexedAttribute3 end |
#IndexedAttribute4 ⇒ Object
242 243 244 |
# File 'lib/v20220331/models.rb', line 242 def IndexedAttribute4 @IndexedAttribute4 end |
#IndexedAttribute5 ⇒ Object
242 243 244 |
# File 'lib/v20220331/models.rb', line 242 def IndexedAttribute5 @IndexedAttribute5 end |
#Nickname ⇒ Object
242 243 244 |
# File 'lib/v20220331/models.rb', line 242 def Nickname @Nickname end |
#Password ⇒ Object
242 243 244 |
# File 'lib/v20220331/models.rb', line 242 def Password @Password end |
#PhoneNumber ⇒ Object
242 243 244 |
# File 'lib/v20220331/models.rb', line 242 def PhoneNumber @PhoneNumber end |
#UserGroup ⇒ Object
242 243 244 |
# File 'lib/v20220331/models.rb', line 242 def UserGroup @UserGroup end |
#UserName ⇒ Object
242 243 244 |
# File 'lib/v20220331/models.rb', line 242 def UserName @UserName end |
#UserStoreId ⇒ Object
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 |