@@ -8,46 +8,46 @@ class IndividualInDirectory < FinchAPI::Internal::Type::BaseModel
88 # @!attribute id
99 # A stable Finch `id` (UUID v4) for an individual in the company.
1010 #
11- # @return [String, nil ]
12- optional :id , String
11+ # @return [String]
12+ required :id , String
1313
1414 # @!attribute department
1515 # The department object.
1616 #
1717 # @return [FinchAPI::Models::HRIS::IndividualInDirectory::Department, nil]
18- optional :department , -> { FinchAPI ::Models ::HRIS ::IndividualInDirectory ::Department } , nil? : true
18+ required :department , -> { FinchAPI ::Models ::HRIS ::IndividualInDirectory ::Department } , nil? : true
1919
2020 # @!attribute first_name
2121 # The legal first name of the individual.
2222 #
2323 # @return [String, nil]
24- optional :first_name , String , nil? : true
24+ required :first_name , String , nil? : true
2525
2626 # @!attribute is_active
2727 # `true` if the individual is an active employee or contractor at the company.
2828 #
2929 # @return [Boolean, nil]
30- optional :is_active , FinchAPI ::Internal ::Type ::Boolean , nil? : true
30+ required :is_active , FinchAPI ::Internal ::Type ::Boolean , nil? : true
3131
3232 # @!attribute last_name
3333 # The legal last name of the individual.
3434 #
3535 # @return [String, nil]
36- optional :last_name , String , nil? : true
36+ required :last_name , String , nil? : true
3737
3838 # @!attribute manager
3939 # The manager object.
4040 #
4141 # @return [FinchAPI::Models::HRIS::IndividualInDirectory::Manager, nil]
42- optional :manager , -> { FinchAPI ::Models ::HRIS ::IndividualInDirectory ::Manager } , nil? : true
42+ required :manager , -> { FinchAPI ::Models ::HRIS ::IndividualInDirectory ::Manager } , nil? : true
4343
4444 # @!attribute middle_name
4545 # The legal middle name of the individual.
4646 #
4747 # @return [String, nil]
48- optional :middle_name , String , nil? : true
48+ required :middle_name , String , nil? : true
4949
50- # @!method initialize(id: nil , department: nil , first_name: nil , is_active: nil , last_name: nil , manager: nil , middle_name: nil )
50+ # @!method initialize(id:, department:, first_name:, is_active:, last_name:, manager:, middle_name:)
5151 # @param id [String] A stable Finch `id` (UUID v4) for an individual in the company.
5252 #
5353 # @param department [FinchAPI::Models::HRIS::IndividualInDirectory::Department, nil] The department object.
@@ -81,10 +81,10 @@ class Manager < FinchAPI::Internal::Type::BaseModel
8181 # @!attribute id
8282 # A stable Finch `id` (UUID v4) for an individual in the company.
8383 #
84- # @return [String, nil ]
85- optional :id , String
84+ # @return [String]
85+ required :id , String
8686
87- # @!method initialize(id: nil )
87+ # @!method initialize(id:)
8888 # The manager object.
8989 #
9090 # @param id [String] A stable Finch `id` (UUID v4) for an individual in the company.
0 commit comments