Class: FinchAPI::Models::Provider::AuthenticationMethod::SupportedFields::Employment

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/finch-api/models/provider.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/provider.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)


760
# File 'lib/finch-api/models/provider.rb', line 760

optional :class_code, FinchAPI::BooleanModel

#custom_fieldsBoolean?

Returns:

  • (Boolean, nil)


769
# File 'lib/finch-api/models/provider.rb', line 769

optional :custom_fields, FinchAPI::BooleanModel

#employment_statusBoolean?

Returns:

  • (Boolean, nil)


798
# File 'lib/finch-api/models/provider.rb', line 798

optional :employment_status, FinchAPI::BooleanModel

#end_dateBoolean?

Returns:

  • (Boolean, nil)


807
# File 'lib/finch-api/models/provider.rb', line 807

optional :end_date, FinchAPI::BooleanModel

#first_nameBoolean?

Returns:

  • (Boolean, nil)


816
# File 'lib/finch-api/models/provider.rb', line 816

optional :first_name, FinchAPI::BooleanModel

#idBoolean?

Returns:

  • (Boolean, nil)


751
# File 'lib/finch-api/models/provider.rb', line 751

optional :id, FinchAPI::BooleanModel

#income_historyBoolean?

Returns:

  • (Boolean, nil)


835
# File 'lib/finch-api/models/provider.rb', line 835

optional :income_history, FinchAPI::BooleanModel

#is_activeBoolean?

Returns:

  • (Boolean, nil)


844
# File 'lib/finch-api/models/provider.rb', line 844

optional :is_active, FinchAPI::BooleanModel

#last_nameBoolean?

Returns:

  • (Boolean, nil)


853
# File 'lib/finch-api/models/provider.rb', line 853

optional :last_name, FinchAPI::BooleanModel

#middle_nameBoolean?

Returns:

  • (Boolean, nil)


882
# File 'lib/finch-api/models/provider.rb', line 882

optional :middle_name, FinchAPI::BooleanModel

#name=(value) ⇒ Boolean (writeonly)

Returns:

  • (Boolean)


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

def name=(value)
  @name = value
end

#start_dateBoolean?

Returns:

  • (Boolean, nil)


891
# File 'lib/finch-api/models/provider.rb', line 891

optional :start_date, FinchAPI::BooleanModel

#state=(value) ⇒ Boolean (writeonly)

Returns:

  • (Boolean)


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

def state=(value)
  @state = value
end

#titleBoolean?

Returns:

  • (Boolean, nil)


900
# File 'lib/finch-api/models/provider.rb', line 900

optional :title, FinchAPI::BooleanModel

#type=(value) ⇒ Boolean (writeonly)

Returns:

  • (Boolean)


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

def type=(value)
  @type = value
end

#unit=(value) ⇒ Boolean (writeonly)

Returns:

  • (Boolean)


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

def unit=(value)
  @unit = value
end