merge_ats_client 3.0.0 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +25 -6
- data/docs/AccountIntegration.md +6 -2
- data/docs/ActivitiesApi.md +164 -8
- data/docs/Activity.md +12 -6
- data/docs/ActivityEndpointRequest.md +20 -0
- data/docs/ActivityRequest.md +32 -0
- data/docs/ActivityResponse.md +24 -0
- data/docs/Application.md +12 -10
- data/docs/ApplicationRequest.md +5 -9
- data/docs/ApplicationsApi.md +4 -4
- data/docs/AsyncPassthroughApi.md +155 -0
- data/docs/AsyncPassthroughReciept.md +18 -0
- data/docs/Attachment.md +8 -4
- data/docs/AttachmentRequest.md +1 -3
- data/docs/AttachmentsApi.md +13 -9
- data/docs/Candidate.md +8 -6
- data/docs/CandidateRequest.md +1 -9
- data/docs/CandidatesApi.md +172 -13
- data/docs/CommonModelScopesBodyRequest.md +22 -0
- data/docs/ConditionSchema.md +1 -1
- data/docs/DataPassthroughRequest.md +1 -1
- data/docs/DeleteAccountApi.md +9 -9
- data/docs/Department.md +7 -3
- data/docs/DepartmentsApi.md +4 -4
- data/docs/EEOC.md +12 -8
- data/docs/EeocsApi.md +13 -9
- data/docs/EmailAddress.md +4 -2
- data/docs/EmailAddressRequest.md +1 -1
- data/docs/EnabledActionsEnum.md +15 -0
- data/docs/EndUserDetailsRequest.md +4 -2
- data/docs/ForceResyncApi.md +1 -1
- data/docs/InterviewsApi.md +165 -9
- data/docs/Issue.md +10 -8
- data/docs/IssuesApi.md +6 -6
- data/docs/Job.md +8 -4
- data/docs/JobInterviewStage.md +10 -4
- data/docs/JobInterviewStagesApi.md +4 -4
- data/docs/JobsApi.md +16 -10
- data/docs/LinkToken.md +1 -1
- data/docs/LinkedAccountsApi.md +2 -2
- data/docs/MetaResponse.md +2 -0
- data/docs/MultipartFormFieldRequest.md +1 -1
- data/docs/Offer.md +10 -6
- data/docs/OffersApi.md +13 -9
- data/docs/Office.md +7 -3
- data/docs/OfficesApi.md +4 -4
- data/docs/PaginatedConditionSchemaList.md +2 -2
- data/docs/PatchedCandidateEndpointRequest.md +20 -0
- data/docs/PatchedCandidateRequest.md +50 -0
- data/docs/PhoneNumber.md +4 -2
- data/docs/PhoneNumberRequest.md +1 -1
- data/docs/RejectReason.md +7 -3
- data/docs/RejectReasonsApi.md +4 -4
- data/docs/RemoteData.md +1 -1
- data/docs/RemoteUser.md +8 -4
- data/docs/ScheduledInterview.md +11 -7
- data/docs/ScheduledInterviewEndpointRequest.md +20 -0
- data/docs/ScheduledInterviewRequest.md +36 -0
- data/docs/ScheduledInterviewResponse.md +24 -0
- data/docs/Scorecard.md +11 -7
- data/docs/ScorecardsApi.md +13 -9
- data/docs/SelectiveSyncApi.md +2 -2
- data/docs/SelectiveSyncConfigurationsUsageEnum.md +15 -0
- data/docs/SyncStatus.md +3 -1
- data/docs/SyncStatusApi.md +1 -1
- data/docs/Tag.md +7 -3
- data/docs/TagsApi.md +4 -4
- data/docs/Url.md +4 -2
- data/docs/UrlRequest.md +1 -1
- data/docs/UsersApi.md +13 -9
- data/lib/merge_ats_client/api/activities_api.rb +160 -8
- data/lib/merge_ats_client/api/applications_api.rb +4 -4
- data/lib/merge_ats_client/api/async_passthrough_api.rb +160 -0
- data/lib/merge_ats_client/api/attachments_api.rb +22 -8
- data/lib/merge_ats_client/api/candidates_api.rb +165 -11
- data/lib/merge_ats_client/api/delete_account_api.rb +7 -7
- data/lib/merge_ats_client/api/departments_api.rb +4 -4
- data/lib/merge_ats_client/api/eeocs_api.rb +22 -8
- data/lib/merge_ats_client/api/force_resync_api.rb +2 -2
- data/lib/merge_ats_client/api/interviews_api.rb +160 -8
- data/lib/merge_ats_client/api/issues_api.rb +6 -6
- data/lib/merge_ats_client/api/job_interview_stages_api.rb +4 -4
- data/lib/merge_ats_client/api/jobs_api.rb +27 -10
- data/lib/merge_ats_client/api/linked_accounts_api.rb +3 -3
- data/lib/merge_ats_client/api/offers_api.rb +22 -8
- data/lib/merge_ats_client/api/offices_api.rb +4 -4
- data/lib/merge_ats_client/api/reject_reasons_api.rb +4 -4
- data/lib/merge_ats_client/api/scorecards_api.rb +22 -8
- data/lib/merge_ats_client/api/selective_sync_api.rb +2 -2
- data/lib/merge_ats_client/api/sync_status_api.rb +2 -2
- data/lib/merge_ats_client/api/tags_api.rb +4 -4
- data/lib/merge_ats_client/api/users_api.rb +22 -8
- data/lib/merge_ats_client/models/account_integration.rb +30 -8
- data/lib/merge_ats_client/models/activity.rb +50 -16
- data/lib/merge_ats_client/models/activity_endpoint_request.rb +237 -0
- data/lib/merge_ats_client/models/activity_request.rb +300 -0
- data/lib/merge_ats_client/models/activity_response.rb +266 -0
- data/lib/merge_ats_client/models/application.rb +40 -26
- data/lib/merge_ats_client/models/application_request.rb +7 -26
- data/lib/merge_ats_client/models/async_passthrough_reciept.rb +223 -0
- data/lib/merge_ats_client/models/attachment.rb +38 -16
- data/lib/merge_ats_client/models/attachment_request.rb +3 -14
- data/lib/merge_ats_client/models/candidate.rb +36 -27
- data/lib/merge_ats_client/models/candidate_request.rb +3 -49
- data/lib/merge_ats_client/models/categories_enum.rb +3 -1
- data/lib/merge_ats_client/models/category_enum.rb +3 -1
- data/lib/merge_ats_client/models/common_model_scopes_body_request.rb +274 -0
- data/lib/merge_ats_client/models/condition_schema.rb +1 -0
- data/lib/merge_ats_client/models/data_passthrough_request.rb +1 -0
- data/lib/merge_ats_client/models/department.rb +36 -14
- data/lib/merge_ats_client/models/eeoc.rb +42 -19
- data/lib/merge_ats_client/models/email_address.rb +16 -6
- data/lib/merge_ats_client/models/email_address_request.rb +1 -1
- data/lib/merge_ats_client/models/enabled_actions_enum.rb +45 -0
- data/lib/merge_ats_client/models/end_user_details_request.rb +19 -6
- data/lib/merge_ats_client/models/issue.rb +16 -4
- data/lib/merge_ats_client/models/job.rb +38 -16
- data/lib/merge_ats_client/models/job_interview_stage.rb +72 -15
- data/lib/merge_ats_client/models/link_token.rb +0 -5
- data/lib/merge_ats_client/models/meta_response.rb +12 -1
- data/lib/merge_ats_client/models/multipart_form_field_request.rb +1 -1
- data/lib/merge_ats_client/models/offer.rb +40 -16
- data/lib/merge_ats_client/models/office.rb +37 -15
- data/lib/merge_ats_client/models/patched_candidate_endpoint_request.rb +237 -0
- data/lib/merge_ats_client/models/patched_candidate_request.rb +418 -0
- data/lib/merge_ats_client/models/phone_number.rb +16 -6
- data/lib/merge_ats_client/models/phone_number_request.rb +1 -1
- data/lib/merge_ats_client/models/reject_reason.rb +37 -15
- data/lib/merge_ats_client/models/remote_data.rb +3 -4
- data/lib/merge_ats_client/models/remote_user.rb +38 -16
- data/lib/merge_ats_client/models/scheduled_interview.rb +41 -16
- data/lib/merge_ats_client/models/scheduled_interview_endpoint_request.rb +237 -0
- data/lib/merge_ats_client/models/scheduled_interview_request.rb +323 -0
- data/lib/merge_ats_client/models/scheduled_interview_response.rb +266 -0
- data/lib/merge_ats_client/models/scorecard.rb +41 -16
- data/lib/merge_ats_client/models/selective_sync_configurations_usage_enum.rb +45 -0
- data/lib/merge_ats_client/models/sync_status.rb +13 -4
- data/lib/merge_ats_client/models/sync_status_status_enum.rb +2 -1
- data/lib/merge_ats_client/models/tag.rb +36 -14
- data/lib/merge_ats_client/models/url.rb +16 -6
- data/lib/merge_ats_client/models/url_request.rb +1 -1
- data/lib/merge_ats_client/version.rb +1 -1
- data/lib/merge_ats_client.rb +13 -1
- data/spec/api/activities_api_spec.rb +31 -4
- data/spec/api/applications_api_spec.rb +2 -2
- data/spec/api/async_passthrough_api_spec.rb +59 -0
- data/spec/api/attachments_api_spec.rb +6 -4
- data/spec/api/candidates_api_spec.rb +32 -3
- data/spec/api/delete_account_api_spec.rb +2 -2
- data/spec/api/departments_api_spec.rb +2 -2
- data/spec/api/eeocs_api_spec.rb +6 -4
- data/spec/api/force_resync_api_spec.rb +1 -1
- data/spec/api/interviews_api_spec.rb +31 -4
- data/spec/api/issues_api_spec.rb +3 -3
- data/spec/api/job_interview_stages_api_spec.rb +2 -2
- data/spec/api/jobs_api_spec.rb +8 -5
- data/spec/api/linked_accounts_api_spec.rb +1 -1
- data/spec/api/offers_api_spec.rb +6 -4
- data/spec/api/offices_api_spec.rb +2 -2
- data/spec/api/reject_reasons_api_spec.rb +2 -2
- data/spec/api/scorecards_api_spec.rb +6 -4
- data/spec/api/selective_sync_api_spec.rb +1 -1
- data/spec/api/sync_status_api_spec.rb +1 -1
- data/spec/api/tags_api_spec.rb +2 -2
- data/spec/api/users_api_spec.rb +6 -4
- data/spec/models/account_integration_spec.rb +12 -0
- data/spec/models/{ignore_common_model_spec.rb → activity_endpoint_request_spec.rb} +8 -8
- data/spec/models/activity_request_spec.rb +76 -0
- data/spec/models/activity_response_spec.rb +52 -0
- data/spec/models/activity_spec.rb +19 -1
- data/spec/models/application_request_spec.rb +0 -12
- data/spec/models/application_spec.rb +9 -3
- data/spec/models/async_passthrough_reciept_spec.rb +34 -0
- data/spec/models/attachment_request_spec.rb +0 -6
- data/spec/models/attachment_spec.rb +14 -2
- data/spec/models/candidate_request_spec.rb +0 -24
- data/spec/models/candidate_spec.rb +9 -3
- data/spec/models/common_model_scopes_body_request_spec.rb +46 -0
- data/spec/models/department_spec.rb +14 -2
- data/spec/models/eeoc_spec.rb +14 -2
- data/spec/models/email_address_spec.rb +6 -0
- data/spec/models/enabled_actions_enum_spec.rb +28 -0
- data/spec/models/end_user_details_request_spec.rb +6 -0
- data/spec/models/issue_spec.rb +6 -0
- data/spec/models/job_interview_stage_spec.rb +19 -1
- data/spec/models/job_spec.rb +14 -2
- data/spec/models/meta_response_spec.rb +6 -0
- data/spec/models/offer_spec.rb +14 -2
- data/spec/models/office_spec.rb +14 -2
- data/spec/models/{remote_data_request_spec.rb → patched_candidate_endpoint_request_spec.rb} +8 -8
- data/spec/models/patched_candidate_request_spec.rb +130 -0
- data/spec/models/phone_number_spec.rb +6 -0
- data/spec/models/reject_reason_spec.rb +14 -2
- data/spec/models/remote_user_spec.rb +14 -2
- data/spec/models/scheduled_interview_endpoint_request_spec.rb +40 -0
- data/spec/models/scheduled_interview_request_spec.rb +88 -0
- data/spec/models/scheduled_interview_response_spec.rb +52 -0
- data/spec/models/scheduled_interview_spec.rb +14 -2
- data/spec/models/scorecard_spec.rb +14 -2
- data/spec/models/selective_sync_configurations_usage_enum_spec.rb +28 -0
- data/spec/models/sync_status_spec.rb +6 -0
- data/spec/models/tag_spec.rb +14 -2
- data/spec/models/url_spec.rb +6 -0
- metadata +167 -119
@@ -19,14 +19,18 @@ module MergeATSClient
|
|
19
19
|
# The phone number.
|
20
20
|
attr_accessor :value
|
21
21
|
|
22
|
-
# The type of phone number.
|
22
|
+
# The type of phone number. * `HOME` - HOME * `WORK` - WORK * `MOBILE` - MOBILE * `SKYPE` - SKYPE * `OTHER` - OTHER
|
23
23
|
attr_accessor :phone_number_type
|
24
24
|
|
25
|
+
# This is the datetime that this object was last updated by Merge
|
26
|
+
attr_accessor :modified_at
|
27
|
+
|
25
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
29
|
def self.attribute_map
|
27
30
|
{
|
28
31
|
:'value' => :'value',
|
29
|
-
:'phone_number_type' => :'phone_number_type'
|
32
|
+
:'phone_number_type' => :'phone_number_type',
|
33
|
+
:'modified_at' => :'modified_at'
|
30
34
|
}
|
31
35
|
end
|
32
36
|
|
@@ -39,7 +43,8 @@ module MergeATSClient
|
|
39
43
|
def self.openapi_types
|
40
44
|
{
|
41
45
|
:'value' => :'String',
|
42
|
-
:'phone_number_type' => :'PhoneNumberTypeEnum'
|
46
|
+
:'phone_number_type' => :'PhoneNumberTypeEnum',
|
47
|
+
:'modified_at' => :'Time'
|
43
48
|
}
|
44
49
|
end
|
45
50
|
|
@@ -47,7 +52,7 @@ module MergeATSClient
|
|
47
52
|
def self.openapi_nullable
|
48
53
|
Set.new([
|
49
54
|
:'value',
|
50
|
-
:'phone_number_type'
|
55
|
+
:'phone_number_type',
|
51
56
|
])
|
52
57
|
end
|
53
58
|
|
@@ -73,6 +78,10 @@ module MergeATSClient
|
|
73
78
|
if attributes.key?(:'phone_number_type')
|
74
79
|
self.phone_number_type = attributes[:'phone_number_type']
|
75
80
|
end
|
81
|
+
|
82
|
+
if attributes.key?(:'modified_at')
|
83
|
+
self.modified_at = attributes[:'modified_at']
|
84
|
+
end
|
76
85
|
end
|
77
86
|
|
78
87
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -94,7 +103,8 @@ module MergeATSClient
|
|
94
103
|
return true if self.equal?(o)
|
95
104
|
self.class == o.class &&
|
96
105
|
value == o.value &&
|
97
|
-
phone_number_type == o.phone_number_type
|
106
|
+
phone_number_type == o.phone_number_type &&
|
107
|
+
modified_at == o.modified_at
|
98
108
|
end
|
99
109
|
|
100
110
|
# @see the `==` method
|
@@ -106,7 +116,7 @@ module MergeATSClient
|
|
106
116
|
# Calculates hash code according to all attributes.
|
107
117
|
# @return [Integer] Hash code
|
108
118
|
def hash
|
109
|
-
[value, phone_number_type].hash
|
119
|
+
[value, phone_number_type, modified_at].hash
|
110
120
|
end
|
111
121
|
|
112
122
|
# Builds the object from hash
|
@@ -19,7 +19,7 @@ module MergeATSClient
|
|
19
19
|
# The phone number.
|
20
20
|
attr_accessor :value
|
21
21
|
|
22
|
-
# The type of phone number.
|
22
|
+
# The type of phone number. * `HOME` - HOME * `WORK` - WORK * `MOBILE` - MOBILE * `SKYPE` - SKYPE * `OTHER` - OTHER
|
23
23
|
attr_accessor :phone_number_type
|
24
24
|
|
25
25
|
attr_accessor :integration_params
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module MergeATSClient
|
17
|
-
# # The RejectReason Object ### Description The `RejectReason` object is used to represent a reason for rejecting an application. ### Usage Example Fetch from the `LIST RejectReasons` endpoint and filter by `ID` to show all reasons.
|
17
|
+
# # The RejectReason Object ### Description The `RejectReason` object is used to represent a reason for rejecting an application. These can typically be configured within an ATS system. ### Usage Example Fetch from the `LIST RejectReasons` endpoint and filter by `ID` to show all reasons.
|
18
18
|
class RejectReason
|
19
19
|
attr_accessor :id
|
20
20
|
|
@@ -24,19 +24,26 @@ module MergeATSClient
|
|
24
24
|
# The rejection reason’s name.
|
25
25
|
attr_accessor :name
|
26
26
|
|
27
|
-
attr_accessor :remote_data
|
28
|
-
|
29
27
|
# Indicates whether or not this object has been deleted by third party webhooks.
|
30
28
|
attr_accessor :remote_was_deleted
|
31
29
|
|
30
|
+
# This is the datetime that this object was last updated by Merge
|
31
|
+
attr_accessor :modified_at
|
32
|
+
|
33
|
+
attr_accessor :field_mappings
|
34
|
+
|
35
|
+
attr_accessor :remote_data
|
36
|
+
|
32
37
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
38
|
def self.attribute_map
|
34
39
|
{
|
35
40
|
:'id' => :'id',
|
36
41
|
:'remote_id' => :'remote_id',
|
37
42
|
:'name' => :'name',
|
38
|
-
:'
|
39
|
-
:'
|
43
|
+
:'remote_was_deleted' => :'remote_was_deleted',
|
44
|
+
:'modified_at' => :'modified_at',
|
45
|
+
:'field_mappings' => :'field_mappings',
|
46
|
+
:'remote_data' => :'remote_data'
|
40
47
|
}
|
41
48
|
end
|
42
49
|
|
@@ -51,8 +58,10 @@ module MergeATSClient
|
|
51
58
|
:'id' => :'String',
|
52
59
|
:'remote_id' => :'String',
|
53
60
|
:'name' => :'String',
|
54
|
-
:'
|
55
|
-
:'
|
61
|
+
:'remote_was_deleted' => :'Boolean',
|
62
|
+
:'modified_at' => :'Time',
|
63
|
+
:'field_mappings' => :'Hash<String, Object>',
|
64
|
+
:'remote_data' => :'Array<RemoteData>'
|
56
65
|
}
|
57
66
|
end
|
58
67
|
|
@@ -61,7 +70,8 @@ module MergeATSClient
|
|
61
70
|
Set.new([
|
62
71
|
:'remote_id',
|
63
72
|
:'name',
|
64
|
-
:'
|
73
|
+
:'field_mappings',
|
74
|
+
:'remote_data'
|
65
75
|
])
|
66
76
|
end
|
67
77
|
|
@@ -92,15 +102,25 @@ module MergeATSClient
|
|
92
102
|
self.name = attributes[:'name']
|
93
103
|
end
|
94
104
|
|
105
|
+
if attributes.key?(:'remote_was_deleted')
|
106
|
+
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
107
|
+
end
|
108
|
+
|
109
|
+
if attributes.key?(:'modified_at')
|
110
|
+
self.modified_at = attributes[:'modified_at']
|
111
|
+
end
|
112
|
+
|
113
|
+
if attributes.key?(:'field_mappings')
|
114
|
+
if (value = attributes[:'field_mappings']).is_a?(Hash)
|
115
|
+
self.field_mappings = value
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
95
119
|
if attributes.key?(:'remote_data')
|
96
120
|
if (value = attributes[:'remote_data']).is_a?(Array)
|
97
121
|
self.remote_data = value
|
98
122
|
end
|
99
123
|
end
|
100
|
-
|
101
|
-
if attributes.key?(:'remote_was_deleted')
|
102
|
-
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
103
|
-
end
|
104
124
|
end
|
105
125
|
|
106
126
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -124,8 +144,10 @@ module MergeATSClient
|
|
124
144
|
id == o.id &&
|
125
145
|
remote_id == o.remote_id &&
|
126
146
|
name == o.name &&
|
127
|
-
|
128
|
-
|
147
|
+
remote_was_deleted == o.remote_was_deleted &&
|
148
|
+
modified_at == o.modified_at &&
|
149
|
+
field_mappings == o.field_mappings &&
|
150
|
+
remote_data == o.remote_data
|
129
151
|
end
|
130
152
|
|
131
153
|
# @see the `==` method
|
@@ -137,7 +159,7 @@ module MergeATSClient
|
|
137
159
|
# Calculates hash code according to all attributes.
|
138
160
|
# @return [Integer] Hash code
|
139
161
|
def hash
|
140
|
-
[id, remote_id, name,
|
162
|
+
[id, remote_id, name, remote_was_deleted, modified_at, field_mappings, remote_data].hash
|
141
163
|
end
|
142
164
|
|
143
165
|
# Builds the object from hash
|
@@ -36,13 +36,14 @@ module MergeATSClient
|
|
36
36
|
def self.openapi_types
|
37
37
|
{
|
38
38
|
:'path' => :'String',
|
39
|
-
:'data' => :'
|
39
|
+
:'data' => :'Object'
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
43
43
|
# List of attributes with nullable: true
|
44
44
|
def self.openapi_nullable
|
45
45
|
Set.new([
|
46
|
+
:'data'
|
46
47
|
])
|
47
48
|
end
|
48
49
|
|
@@ -66,9 +67,7 @@ module MergeATSClient
|
|
66
67
|
end
|
67
68
|
|
68
69
|
if attributes.key?(:'data')
|
69
|
-
|
70
|
-
self.data = value
|
71
|
-
end
|
70
|
+
self.data = attributes[:'data']
|
72
71
|
end
|
73
72
|
end
|
74
73
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module MergeATSClient
|
17
|
-
# # The RemoteUser Object ### Description The `RemoteUser` object is used to represent a
|
17
|
+
# # The RemoteUser Object ### Description The `RemoteUser` object is used to represent a user with a login to the ATS system. ### Usage Example Fetch from the `LIST RemoteUsers` endpoint to show all users for a third party.
|
18
18
|
class RemoteUser
|
19
19
|
attr_accessor :id
|
20
20
|
|
@@ -36,14 +36,19 @@ module MergeATSClient
|
|
36
36
|
# When the third party's user was created.
|
37
37
|
attr_accessor :remote_created_at
|
38
38
|
|
39
|
-
# The user's role.
|
39
|
+
# The user's role. * `SUPER_ADMIN` - SUPER_ADMIN * `ADMIN` - ADMIN * `TEAM_MEMBER` - TEAM_MEMBER * `LIMITED_TEAM_MEMBER` - LIMITED_TEAM_MEMBER * `INTERVIEWER` - INTERVIEWER
|
40
40
|
attr_accessor :access_role
|
41
41
|
|
42
|
-
attr_accessor :remote_data
|
43
|
-
|
44
42
|
# Indicates whether or not this object has been deleted by third party webhooks.
|
45
43
|
attr_accessor :remote_was_deleted
|
46
44
|
|
45
|
+
# This is the datetime that this object was last updated by Merge
|
46
|
+
attr_accessor :modified_at
|
47
|
+
|
48
|
+
attr_accessor :field_mappings
|
49
|
+
|
50
|
+
attr_accessor :remote_data
|
51
|
+
|
47
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
48
53
|
def self.attribute_map
|
49
54
|
{
|
@@ -55,8 +60,10 @@ module MergeATSClient
|
|
55
60
|
:'disabled' => :'disabled',
|
56
61
|
:'remote_created_at' => :'remote_created_at',
|
57
62
|
:'access_role' => :'access_role',
|
58
|
-
:'
|
59
|
-
:'
|
63
|
+
:'remote_was_deleted' => :'remote_was_deleted',
|
64
|
+
:'modified_at' => :'modified_at',
|
65
|
+
:'field_mappings' => :'field_mappings',
|
66
|
+
:'remote_data' => :'remote_data'
|
60
67
|
}
|
61
68
|
end
|
62
69
|
|
@@ -76,8 +83,10 @@ module MergeATSClient
|
|
76
83
|
:'disabled' => :'Boolean',
|
77
84
|
:'remote_created_at' => :'Time',
|
78
85
|
:'access_role' => :'AccessRoleEnum',
|
79
|
-
:'
|
80
|
-
:'
|
86
|
+
:'remote_was_deleted' => :'Boolean',
|
87
|
+
:'modified_at' => :'Time',
|
88
|
+
:'field_mappings' => :'Hash<String, Object>',
|
89
|
+
:'remote_data' => :'Array<RemoteData>'
|
81
90
|
}
|
82
91
|
end
|
83
92
|
|
@@ -91,7 +100,8 @@ module MergeATSClient
|
|
91
100
|
:'disabled',
|
92
101
|
:'remote_created_at',
|
93
102
|
:'access_role',
|
94
|
-
:'
|
103
|
+
:'field_mappings',
|
104
|
+
:'remote_data'
|
95
105
|
])
|
96
106
|
end
|
97
107
|
|
@@ -142,15 +152,25 @@ module MergeATSClient
|
|
142
152
|
self.access_role = attributes[:'access_role']
|
143
153
|
end
|
144
154
|
|
155
|
+
if attributes.key?(:'remote_was_deleted')
|
156
|
+
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
157
|
+
end
|
158
|
+
|
159
|
+
if attributes.key?(:'modified_at')
|
160
|
+
self.modified_at = attributes[:'modified_at']
|
161
|
+
end
|
162
|
+
|
163
|
+
if attributes.key?(:'field_mappings')
|
164
|
+
if (value = attributes[:'field_mappings']).is_a?(Hash)
|
165
|
+
self.field_mappings = value
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
145
169
|
if attributes.key?(:'remote_data')
|
146
170
|
if (value = attributes[:'remote_data']).is_a?(Array)
|
147
171
|
self.remote_data = value
|
148
172
|
end
|
149
173
|
end
|
150
|
-
|
151
|
-
if attributes.key?(:'remote_was_deleted')
|
152
|
-
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
153
|
-
end
|
154
174
|
end
|
155
175
|
|
156
176
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -194,8 +214,10 @@ module MergeATSClient
|
|
194
214
|
disabled == o.disabled &&
|
195
215
|
remote_created_at == o.remote_created_at &&
|
196
216
|
access_role == o.access_role &&
|
197
|
-
|
198
|
-
|
217
|
+
remote_was_deleted == o.remote_was_deleted &&
|
218
|
+
modified_at == o.modified_at &&
|
219
|
+
field_mappings == o.field_mappings &&
|
220
|
+
remote_data == o.remote_data
|
199
221
|
end
|
200
222
|
|
201
223
|
# @see the `==` method
|
@@ -207,7 +229,7 @@ module MergeATSClient
|
|
207
229
|
# Calculates hash code according to all attributes.
|
208
230
|
# @return [Integer] Hash code
|
209
231
|
def hash
|
210
|
-
[id, remote_id, first_name, last_name, email, disabled, remote_created_at, access_role,
|
232
|
+
[id, remote_id, first_name, last_name, email, disabled, remote_created_at, access_role, remote_was_deleted, modified_at, field_mappings, remote_data].hash
|
211
233
|
end
|
212
234
|
|
213
235
|
# Builds the object from hash
|
@@ -14,17 +14,20 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module MergeATSClient
|
17
|
-
# # The ScheduledInterview Object ### Description The `ScheduledInterview` object is used to represent
|
17
|
+
# # The ScheduledInterview Object ### Description The `ScheduledInterview` object is used to represent a scheduled interview for a given candidate’s application to a job. An `Application` can have multiple `ScheduledInterview`s depending on the particular hiring process. ### Usage Example Fetch from the `LIST ScheduledInterviews` endpoint and filter by `interviewers` to show all office locations.
|
18
18
|
class ScheduledInterview
|
19
19
|
attr_accessor :id
|
20
20
|
|
21
21
|
# The third-party API ID of the matching object.
|
22
22
|
attr_accessor :remote_id
|
23
23
|
|
24
|
+
# The application being interviewed.
|
24
25
|
attr_accessor :application
|
25
26
|
|
27
|
+
# The stage of the interview.
|
26
28
|
attr_accessor :job_interview_stage
|
27
29
|
|
30
|
+
# The user organizing the interview.
|
28
31
|
attr_accessor :organizer
|
29
32
|
|
30
33
|
# Array of `RemoteUser` IDs.
|
@@ -45,14 +48,19 @@ module MergeATSClient
|
|
45
48
|
# When the third party's interview was updated.
|
46
49
|
attr_accessor :remote_updated_at
|
47
50
|
|
48
|
-
# The interview's status.
|
51
|
+
# The interview's status. * `SCHEDULED` - SCHEDULED * `AWAITING_FEEDBACK` - AWAITING_FEEDBACK * `COMPLETE` - COMPLETE
|
49
52
|
attr_accessor :status
|
50
53
|
|
51
|
-
attr_accessor :remote_data
|
52
|
-
|
53
54
|
# Indicates whether or not this object has been deleted by third party webhooks.
|
54
55
|
attr_accessor :remote_was_deleted
|
55
56
|
|
57
|
+
# This is the datetime that this object was last updated by Merge
|
58
|
+
attr_accessor :modified_at
|
59
|
+
|
60
|
+
attr_accessor :field_mappings
|
61
|
+
|
62
|
+
attr_accessor :remote_data
|
63
|
+
|
56
64
|
# Attribute mapping from ruby-style variable name to JSON key.
|
57
65
|
def self.attribute_map
|
58
66
|
{
|
@@ -68,8 +76,10 @@ module MergeATSClient
|
|
68
76
|
:'remote_created_at' => :'remote_created_at',
|
69
77
|
:'remote_updated_at' => :'remote_updated_at',
|
70
78
|
:'status' => :'status',
|
71
|
-
:'
|
72
|
-
:'
|
79
|
+
:'remote_was_deleted' => :'remote_was_deleted',
|
80
|
+
:'modified_at' => :'modified_at',
|
81
|
+
:'field_mappings' => :'field_mappings',
|
82
|
+
:'remote_data' => :'remote_data'
|
73
83
|
}
|
74
84
|
end
|
75
85
|
|
@@ -93,8 +103,10 @@ module MergeATSClient
|
|
93
103
|
:'remote_created_at' => :'Time',
|
94
104
|
:'remote_updated_at' => :'Time',
|
95
105
|
:'status' => :'ScheduledInterviewStatusEnum',
|
96
|
-
:'
|
97
|
-
:'
|
106
|
+
:'remote_was_deleted' => :'Boolean',
|
107
|
+
:'modified_at' => :'Time',
|
108
|
+
:'field_mappings' => :'Hash<String, Object>',
|
109
|
+
:'remote_data' => :'Array<RemoteData>'
|
98
110
|
}
|
99
111
|
end
|
100
112
|
|
@@ -111,7 +123,8 @@ module MergeATSClient
|
|
111
123
|
:'remote_created_at',
|
112
124
|
:'remote_updated_at',
|
113
125
|
:'status',
|
114
|
-
:'
|
126
|
+
:'field_mappings',
|
127
|
+
:'remote_data'
|
115
128
|
])
|
116
129
|
end
|
117
130
|
|
@@ -180,15 +193,25 @@ module MergeATSClient
|
|
180
193
|
self.status = attributes[:'status']
|
181
194
|
end
|
182
195
|
|
196
|
+
if attributes.key?(:'remote_was_deleted')
|
197
|
+
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
198
|
+
end
|
199
|
+
|
200
|
+
if attributes.key?(:'modified_at')
|
201
|
+
self.modified_at = attributes[:'modified_at']
|
202
|
+
end
|
203
|
+
|
204
|
+
if attributes.key?(:'field_mappings')
|
205
|
+
if (value = attributes[:'field_mappings']).is_a?(Hash)
|
206
|
+
self.field_mappings = value
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
183
210
|
if attributes.key?(:'remote_data')
|
184
211
|
if (value = attributes[:'remote_data']).is_a?(Array)
|
185
212
|
self.remote_data = value
|
186
213
|
end
|
187
214
|
end
|
188
|
-
|
189
|
-
if attributes.key?(:'remote_was_deleted')
|
190
|
-
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
191
|
-
end
|
192
215
|
end
|
193
216
|
|
194
217
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -221,8 +244,10 @@ module MergeATSClient
|
|
221
244
|
remote_created_at == o.remote_created_at &&
|
222
245
|
remote_updated_at == o.remote_updated_at &&
|
223
246
|
status == o.status &&
|
224
|
-
|
225
|
-
|
247
|
+
remote_was_deleted == o.remote_was_deleted &&
|
248
|
+
modified_at == o.modified_at &&
|
249
|
+
field_mappings == o.field_mappings &&
|
250
|
+
remote_data == o.remote_data
|
226
251
|
end
|
227
252
|
|
228
253
|
# @see the `==` method
|
@@ -234,7 +259,7 @@ module MergeATSClient
|
|
234
259
|
# Calculates hash code according to all attributes.
|
235
260
|
# @return [Integer] Hash code
|
236
261
|
def hash
|
237
|
-
[id, remote_id, application, job_interview_stage, organizer, interviewers, location, start_at, end_at, remote_created_at, remote_updated_at, status,
|
262
|
+
[id, remote_id, application, job_interview_stage, organizer, interviewers, location, start_at, end_at, remote_created_at, remote_updated_at, status, remote_was_deleted, modified_at, field_mappings, remote_data].hash
|
238
263
|
end
|
239
264
|
|
240
265
|
# Builds the object from hash
|