Class: FinchAPI::Models::AccountUpdateEvent::Data::AuthenticationMethod::SupportedFields::Employment

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/finch-api/models/account_update_event.rb

Defined Under Namespace

Classes: Department, Employment, Income, Location, Manager

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(city: nil, country: nil, line1: nil, line2: nil, postal_code: nil, state: nil) ⇒ Employment

Returns a new instance of Employment.

Parameters:

  • city (Boolean) (defaults to: nil)
  • country (Boolean) (defaults to: nil)
  • line1 (Boolean) (defaults to: nil)
  • line2 (Boolean) (defaults to: nil)
  • postal_code (Boolean) (defaults to: nil)
  • state (Boolean) (defaults to: nil)


19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# File 'lib/finch-api/models/account_update_event.rb', line 19

def initialize(
  id: nil,
  class_code: nil,
  custom_fields: nil,
  department: nil,
  employment: nil,
  employment_status: nil,
  end_date: nil,
  first_name: nil,
  income: nil,
  income_history: nil,
  is_active: nil,
  last_name: nil,
  location: nil,
  manager: nil,
  middle_name: nil,
  start_date: nil,
  title: nil,
  **
)
  super
end

Instance Attribute Details

#class_codeBoolean?

Returns:

  • (Boolean, nil)


678
# File 'lib/finch-api/models/account_update_event.rb', line 678

optional :class_code, FinchAPI::BooleanModel

#custom_fieldsBoolean?

Returns:

  • (Boolean, nil)


687
# File 'lib/finch-api/models/account_update_event.rb', line 687

optional :custom_fields, FinchAPI::BooleanModel

#employment_statusBoolean?

Returns:

  • (Boolean, nil)


716
# File 'lib/finch-api/models/account_update_event.rb', line 716

optional :employment_status, FinchAPI::BooleanModel

#end_dateBoolean?

Returns:

  • (Boolean, nil)


725
# File 'lib/finch-api/models/account_update_event.rb', line 725

optional :end_date, FinchAPI::BooleanModel

#first_nameBoolean?

Returns:

  • (Boolean, nil)


734
# File 'lib/finch-api/models/account_update_event.rb', line 734

optional :first_name, FinchAPI::BooleanModel

#idBoolean?

Returns:

  • (Boolean, nil)


669
# File 'lib/finch-api/models/account_update_event.rb', line 669

optional :id, FinchAPI::BooleanModel

#income_historyBoolean?

Returns:

  • (Boolean, nil)


753
# File 'lib/finch-api/models/account_update_event.rb', line 753

optional :income_history, FinchAPI::BooleanModel

#is_activeBoolean?

Returns:

  • (Boolean, nil)


762
# File 'lib/finch-api/models/account_update_event.rb', line 762

optional :is_active, FinchAPI::BooleanModel

#last_nameBoolean?

Returns:

  • (Boolean, nil)


771
# File 'lib/finch-api/models/account_update_event.rb', line 771

optional :last_name, FinchAPI::BooleanModel

#middle_nameBoolean?

Returns:

  • (Boolean, nil)


800
# File 'lib/finch-api/models/account_update_event.rb', line 800

optional :middle_name, FinchAPI::BooleanModel

#name=(value) ⇒ Boolean (writeonly)

Returns:

  • (Boolean)


2
3
4
# File 'lib/finch-api/models/account_update_event.rb', line 2

def name=(value)
  @name = value
end

#start_dateBoolean?

Returns:

  • (Boolean, nil)


809
# File 'lib/finch-api/models/account_update_event.rb', line 809

optional :start_date, FinchAPI::BooleanModel

#state=(value) ⇒ Boolean (writeonly)

Returns:

  • (Boolean)


2
3
4
# File 'lib/finch-api/models/account_update_event.rb', line 2

def state=(value)
  @state = value
end

#titleBoolean?

Returns:

  • (Boolean, nil)


818
# File 'lib/finch-api/models/account_update_event.rb', line 818

optional :title, FinchAPI::BooleanModel

#type=(value) ⇒ Boolean (writeonly)

Returns:

  • (Boolean)


2
3
4
# File 'lib/finch-api/models/account_update_event.rb', line 2

def type=(value)
  @type = value
end

#unit=(value) ⇒ Boolean (writeonly)

Returns:

  • (Boolean)


2
3
4
# File 'lib/finch-api/models/account_update_event.rb', line 2

def unit=(value)
  @unit = value
end