Class: YSM::UserManagementService::User

Inherits:
Object
  • Object
show all
Defined in:
lib/ysm4r/v1/UserManagementService.rb,
lib/ysm4r/v2/UserManagementService.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(email = nil, fax = nil, firstName = nil, firstNameFurigana = nil, lastName = nil, lastNameFurigana = nil, locale = nil, middleInitial = nil, mobilePhone = nil, timezone = nil, title = nil, workPhone = nil) ⇒ User

Returns a new instance of User.



32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/ysm4r/v1/UserManagementService.rb', line 32

def initialize(email = nil, fax = nil, firstName = nil, firstNameFurigana = nil, lastName = nil, lastNameFurigana = nil, locale = nil, middleInitial = nil, mobilePhone = nil, timezone = nil, title = nil, workPhone = nil)
  @email = email
  @fax = fax
  @firstName = firstName
  @firstNameFurigana = firstNameFurigana
  @lastName = lastName
  @lastNameFurigana = lastNameFurigana
  @locale = locale
  @middleInitial = middleInitial
  @mobilePhone = mobilePhone
  @timezone = timezone
  @title = title
  @workPhone = workPhone
end

Instance Attribute Details

#emailObject

Returns the value of attribute email.



19
20
21
# File 'lib/ysm4r/v1/UserManagementService.rb', line 19

def email
  @email
end

#faxObject

Returns the value of attribute fax.



20
21
22
# File 'lib/ysm4r/v1/UserManagementService.rb', line 20

def fax
  @fax
end

#firstNameObject

Returns the value of attribute firstName.



21
22
23
# File 'lib/ysm4r/v1/UserManagementService.rb', line 21

def firstName
  @firstName
end

#firstNameFuriganaObject

Returns the value of attribute firstNameFurigana.



22
23
24
# File 'lib/ysm4r/v1/UserManagementService.rb', line 22

def firstNameFurigana
  @firstNameFurigana
end

#lastNameObject

Returns the value of attribute lastName.



23
24
25
# File 'lib/ysm4r/v1/UserManagementService.rb', line 23

def lastName
  @lastName
end

#lastNameFuriganaObject

Returns the value of attribute lastNameFurigana.



24
25
26
# File 'lib/ysm4r/v1/UserManagementService.rb', line 24

def lastNameFurigana
  @lastNameFurigana
end

#localeObject

Returns the value of attribute locale.



25
26
27
# File 'lib/ysm4r/v1/UserManagementService.rb', line 25

def locale
  @locale
end

#middleInitialObject

Returns the value of attribute middleInitial.



26
27
28
# File 'lib/ysm4r/v1/UserManagementService.rb', line 26

def middleInitial
  @middleInitial
end

#mobilePhoneObject

Returns the value of attribute mobilePhone.



27
28
29
# File 'lib/ysm4r/v1/UserManagementService.rb', line 27

def mobilePhone
  @mobilePhone
end

#timezoneObject

Returns the value of attribute timezone.



28
29
30
# File 'lib/ysm4r/v1/UserManagementService.rb', line 28

def timezone
  @timezone
end

#titleObject

Returns the value of attribute title.



29
30
31
# File 'lib/ysm4r/v1/UserManagementService.rb', line 29

def title
  @title
end

#workPhoneObject

Returns the value of attribute workPhone.



30
31
32
# File 'lib/ysm4r/v1/UserManagementService.rb', line 30

def workPhone
  @workPhone
end