vitable-connect 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/vitable_connect/client.rb +0 -1
- data/lib/vitable_connect/internal/transport/base_client.rb +4 -1
- data/lib/vitable_connect/models/employee.rb +9 -9
- data/lib/vitable_connect/models/employer.rb +1 -9
- data/lib/vitable_connect/models/group.rb +17 -6
- data/lib/vitable_connect/models/groups/members/sync_retrieve_response.rb +74 -3
- data/lib/vitable_connect/models/webhook_event_list_params.rb +0 -3
- data/lib/vitable_connect/models.rb +0 -9
- data/lib/vitable_connect/resources/benefit_eligibility_policies.rb +0 -21
- data/lib/vitable_connect/resources/employers.rb +0 -30
- data/lib/vitable_connect/version.rb +1 -1
- data/lib/vitable_connect.rb +0 -4
- data/rbi/vitable_connect/client.rbi +0 -1
- data/rbi/vitable_connect/models/employee.rbi +8 -8
- data/rbi/vitable_connect/models/employer.rbi +0 -8
- data/rbi/vitable_connect/models/group.rbi +12 -0
- data/rbi/vitable_connect/models/groups/members/sync_retrieve_response.rbi +174 -4
- data/rbi/vitable_connect/models/webhook_event_list_params.rbi +0 -8
- data/rbi/vitable_connect/models.rbi +0 -11
- data/rbi/vitable_connect/resources/benefit_eligibility_policies.rbi +0 -15
- data/rbi/vitable_connect/resources/employers.rbi +0 -21
- data/rbi/vitable_connect/resources/webhook_events.rbi +0 -1
- data/sig/vitable_connect/models/employee.rbs +5 -5
- data/sig/vitable_connect/models/employer.rbs +0 -5
- data/sig/vitable_connect/models/groups/members/sync_retrieve_response.rbs +69 -4
- data/sig/vitable_connect/models/webhook_event_list_params.rbs +0 -2
- data/sig/vitable_connect/models.rbs +0 -8
- data/sig/vitable_connect/resources/benefit_eligibility_policies.rbs +0 -5
- data/sig/vitable_connect/resources/employers.rbs +0 -7
- metadata +2 -14
- data/lib/vitable_connect/models/benefit_eligibility_policy.rb +0 -53
- data/lib/vitable_connect/models/benefit_eligibility_policy_response.rb +0 -18
- data/lib/vitable_connect/models/benefit_eligibility_policy_retrieve_params.rb +0 -22
- data/lib/vitable_connect/models/employer_create_benefit_eligibility_policy_params.rb +0 -43
- data/rbi/vitable_connect/models/benefit_eligibility_policy.rbi +0 -74
- data/rbi/vitable_connect/models/benefit_eligibility_policy_response.rbi +0 -38
- data/rbi/vitable_connect/models/benefit_eligibility_policy_retrieve_params.rbi +0 -43
- data/rbi/vitable_connect/models/employer_create_benefit_eligibility_policy_params.rbi +0 -64
- data/sig/vitable_connect/models/benefit_eligibility_policy.rbs +0 -50
- data/sig/vitable_connect/models/benefit_eligibility_policy_response.rbs +0 -14
- data/sig/vitable_connect/models/benefit_eligibility_policy_retrieve_params.rbs +0 -23
- data/sig/vitable_connect/models/employer_create_benefit_eligibility_policy_params.rbs +0 -32
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module VitableConnect
|
|
4
|
-
module Models
|
|
5
|
-
class BenefitEligibilityPolicy < VitableConnect::Internal::Type::BaseModel
|
|
6
|
-
# @!attribute active
|
|
7
|
-
#
|
|
8
|
-
# @return [Boolean]
|
|
9
|
-
required :active, VitableConnect::Internal::Type::Boolean
|
|
10
|
-
|
|
11
|
-
# @!attribute created_at
|
|
12
|
-
#
|
|
13
|
-
# @return [Time]
|
|
14
|
-
required :created_at, Time
|
|
15
|
-
|
|
16
|
-
# @!attribute updated_at
|
|
17
|
-
#
|
|
18
|
-
# @return [Time]
|
|
19
|
-
required :updated_at, Time
|
|
20
|
-
|
|
21
|
-
response_only do
|
|
22
|
-
# @!attribute id
|
|
23
|
-
#
|
|
24
|
-
# @return [String]
|
|
25
|
-
required :id, String
|
|
26
|
-
|
|
27
|
-
# @!attribute classification
|
|
28
|
-
#
|
|
29
|
-
# @return [String]
|
|
30
|
-
required :classification, String
|
|
31
|
-
|
|
32
|
-
# @!attribute employer_id
|
|
33
|
-
#
|
|
34
|
-
# @return [String]
|
|
35
|
-
required :employer_id, String
|
|
36
|
-
|
|
37
|
-
# @!attribute waiting_period
|
|
38
|
-
#
|
|
39
|
-
# @return [String]
|
|
40
|
-
required :waiting_period, String
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
# @!method initialize(id:, active:, classification:, created_at:, employer_id:, updated_at:, waiting_period:)
|
|
44
|
-
# @param id [String]
|
|
45
|
-
# @param active [Boolean]
|
|
46
|
-
# @param classification [String]
|
|
47
|
-
# @param created_at [Time]
|
|
48
|
-
# @param employer_id [String]
|
|
49
|
-
# @param updated_at [Time]
|
|
50
|
-
# @param waiting_period [String]
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
end
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module VitableConnect
|
|
4
|
-
module Models
|
|
5
|
-
# @see VitableConnect::Resources::BenefitEligibilityPolicies#retrieve
|
|
6
|
-
class BenefitEligibilityPolicyResponse < VitableConnect::Internal::Type::BaseModel
|
|
7
|
-
# @!attribute data
|
|
8
|
-
#
|
|
9
|
-
# @return [VitableConnect::Models::BenefitEligibilityPolicy]
|
|
10
|
-
required :data, -> { VitableConnect::BenefitEligibilityPolicy }
|
|
11
|
-
|
|
12
|
-
# @!method initialize(data:)
|
|
13
|
-
# Response containing a single benefit eligibility policy resource.
|
|
14
|
-
#
|
|
15
|
-
# @param data [VitableConnect::Models::BenefitEligibilityPolicy]
|
|
16
|
-
end
|
|
17
|
-
end
|
|
18
|
-
end
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module VitableConnect
|
|
4
|
-
module Models
|
|
5
|
-
# @see VitableConnect::Resources::BenefitEligibilityPolicies#retrieve
|
|
6
|
-
class BenefitEligibilityPolicyRetrieveParams < VitableConnect::Internal::Type::BaseModel
|
|
7
|
-
extend VitableConnect::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include VitableConnect::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
# @!attribute policy_id
|
|
11
|
-
# Unique benefit eligibility policy identifier (epol\_\*)
|
|
12
|
-
#
|
|
13
|
-
# @return [String]
|
|
14
|
-
required :policy_id, String
|
|
15
|
-
|
|
16
|
-
# @!method initialize(policy_id:, request_options: {})
|
|
17
|
-
# @param policy_id [String] Unique benefit eligibility policy identifier (epol\_\*)
|
|
18
|
-
#
|
|
19
|
-
# @param request_options [VitableConnect::RequestOptions, Hash{Symbol=>Object}]
|
|
20
|
-
end
|
|
21
|
-
end
|
|
22
|
-
end
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module VitableConnect
|
|
4
|
-
module Models
|
|
5
|
-
# @see VitableConnect::Resources::Employers#create_benefit_eligibility_policy
|
|
6
|
-
class EmployerCreateBenefitEligibilityPolicyParams < VitableConnect::Internal::Type::BaseModel
|
|
7
|
-
extend VitableConnect::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include VitableConnect::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
# @!attribute employer_id
|
|
11
|
-
# Unique employer identifier (empr\_\*)
|
|
12
|
-
#
|
|
13
|
-
# @return [String]
|
|
14
|
-
required :employer_id, String
|
|
15
|
-
|
|
16
|
-
# @!attribute classification
|
|
17
|
-
# Which employee classifications are eligible. One of: full_time, part_time, all
|
|
18
|
-
#
|
|
19
|
-
# @return [String]
|
|
20
|
-
required :classification, String
|
|
21
|
-
|
|
22
|
-
# @!attribute waiting_period
|
|
23
|
-
# Waiting period before eligibility. One of: first_of_following_month, 30_days,
|
|
24
|
-
# 60_days, none
|
|
25
|
-
#
|
|
26
|
-
# @return [String]
|
|
27
|
-
required :waiting_period, String
|
|
28
|
-
|
|
29
|
-
# @!method initialize(employer_id:, classification:, waiting_period:, request_options: {})
|
|
30
|
-
# Some parameter documentations has been truncated, see
|
|
31
|
-
# {VitableConnect::Models::EmployerCreateBenefitEligibilityPolicyParams} for more
|
|
32
|
-
# details.
|
|
33
|
-
#
|
|
34
|
-
# @param employer_id [String] Unique employer identifier (empr\_\*)
|
|
35
|
-
#
|
|
36
|
-
# @param classification [String] Which employee classifications are eligible. One of: full_time, part_time, all
|
|
37
|
-
#
|
|
38
|
-
# @param waiting_period [String] Waiting period before eligibility. One of: first_of_following_month, 30_days, 60
|
|
39
|
-
#
|
|
40
|
-
# @param request_options [VitableConnect::RequestOptions, Hash{Symbol=>Object}]
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
end
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module VitableConnect
|
|
4
|
-
module Models
|
|
5
|
-
class BenefitEligibilityPolicy < VitableConnect::Internal::Type::BaseModel
|
|
6
|
-
OrHash =
|
|
7
|
-
T.type_alias do
|
|
8
|
-
T.any(
|
|
9
|
-
VitableConnect::BenefitEligibilityPolicy,
|
|
10
|
-
VitableConnect::Internal::AnyHash
|
|
11
|
-
)
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
sig { returns(T::Boolean) }
|
|
15
|
-
attr_accessor :active
|
|
16
|
-
|
|
17
|
-
sig { returns(Time) }
|
|
18
|
-
attr_accessor :created_at
|
|
19
|
-
|
|
20
|
-
sig { returns(Time) }
|
|
21
|
-
attr_accessor :updated_at
|
|
22
|
-
|
|
23
|
-
sig { returns(String) }
|
|
24
|
-
attr_accessor :id
|
|
25
|
-
|
|
26
|
-
sig { returns(String) }
|
|
27
|
-
attr_accessor :classification
|
|
28
|
-
|
|
29
|
-
sig { returns(String) }
|
|
30
|
-
attr_accessor :employer_id
|
|
31
|
-
|
|
32
|
-
sig { returns(String) }
|
|
33
|
-
attr_accessor :waiting_period
|
|
34
|
-
|
|
35
|
-
sig do
|
|
36
|
-
params(
|
|
37
|
-
id: String,
|
|
38
|
-
active: T::Boolean,
|
|
39
|
-
classification: String,
|
|
40
|
-
created_at: Time,
|
|
41
|
-
employer_id: String,
|
|
42
|
-
updated_at: Time,
|
|
43
|
-
waiting_period: String
|
|
44
|
-
).returns(T.attached_class)
|
|
45
|
-
end
|
|
46
|
-
def self.new(
|
|
47
|
-
id:,
|
|
48
|
-
active:,
|
|
49
|
-
classification:,
|
|
50
|
-
created_at:,
|
|
51
|
-
employer_id:,
|
|
52
|
-
updated_at:,
|
|
53
|
-
waiting_period:
|
|
54
|
-
)
|
|
55
|
-
end
|
|
56
|
-
|
|
57
|
-
sig do
|
|
58
|
-
override.returns(
|
|
59
|
-
{
|
|
60
|
-
id: String,
|
|
61
|
-
active: T::Boolean,
|
|
62
|
-
classification: String,
|
|
63
|
-
created_at: Time,
|
|
64
|
-
employer_id: String,
|
|
65
|
-
updated_at: Time,
|
|
66
|
-
waiting_period: String
|
|
67
|
-
}
|
|
68
|
-
)
|
|
69
|
-
end
|
|
70
|
-
def to_hash
|
|
71
|
-
end
|
|
72
|
-
end
|
|
73
|
-
end
|
|
74
|
-
end
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module VitableConnect
|
|
4
|
-
module Models
|
|
5
|
-
class BenefitEligibilityPolicyResponse < VitableConnect::Internal::Type::BaseModel
|
|
6
|
-
OrHash =
|
|
7
|
-
T.type_alias do
|
|
8
|
-
T.any(
|
|
9
|
-
VitableConnect::BenefitEligibilityPolicyResponse,
|
|
10
|
-
VitableConnect::Internal::AnyHash
|
|
11
|
-
)
|
|
12
|
-
end
|
|
13
|
-
|
|
14
|
-
sig { returns(VitableConnect::BenefitEligibilityPolicy) }
|
|
15
|
-
attr_reader :data
|
|
16
|
-
|
|
17
|
-
sig do
|
|
18
|
-
params(data: VitableConnect::BenefitEligibilityPolicy::OrHash).void
|
|
19
|
-
end
|
|
20
|
-
attr_writer :data
|
|
21
|
-
|
|
22
|
-
# Response containing a single benefit eligibility policy resource.
|
|
23
|
-
sig do
|
|
24
|
-
params(data: VitableConnect::BenefitEligibilityPolicy::OrHash).returns(
|
|
25
|
-
T.attached_class
|
|
26
|
-
)
|
|
27
|
-
end
|
|
28
|
-
def self.new(data:)
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
sig do
|
|
32
|
-
override.returns({ data: VitableConnect::BenefitEligibilityPolicy })
|
|
33
|
-
end
|
|
34
|
-
def to_hash
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
end
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module VitableConnect
|
|
4
|
-
module Models
|
|
5
|
-
class BenefitEligibilityPolicyRetrieveParams < VitableConnect::Internal::Type::BaseModel
|
|
6
|
-
extend VitableConnect::Internal::Type::RequestParameters::Converter
|
|
7
|
-
include VitableConnect::Internal::Type::RequestParameters
|
|
8
|
-
|
|
9
|
-
OrHash =
|
|
10
|
-
T.type_alias do
|
|
11
|
-
T.any(
|
|
12
|
-
VitableConnect::BenefitEligibilityPolicyRetrieveParams,
|
|
13
|
-
VitableConnect::Internal::AnyHash
|
|
14
|
-
)
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
# Unique benefit eligibility policy identifier (epol\_\*)
|
|
18
|
-
sig { returns(String) }
|
|
19
|
-
attr_accessor :policy_id
|
|
20
|
-
|
|
21
|
-
sig do
|
|
22
|
-
params(
|
|
23
|
-
policy_id: String,
|
|
24
|
-
request_options: VitableConnect::RequestOptions::OrHash
|
|
25
|
-
).returns(T.attached_class)
|
|
26
|
-
end
|
|
27
|
-
def self.new(
|
|
28
|
-
# Unique benefit eligibility policy identifier (epol\_\*)
|
|
29
|
-
policy_id:,
|
|
30
|
-
request_options: {}
|
|
31
|
-
)
|
|
32
|
-
end
|
|
33
|
-
|
|
34
|
-
sig do
|
|
35
|
-
override.returns(
|
|
36
|
-
{ policy_id: String, request_options: VitableConnect::RequestOptions }
|
|
37
|
-
)
|
|
38
|
-
end
|
|
39
|
-
def to_hash
|
|
40
|
-
end
|
|
41
|
-
end
|
|
42
|
-
end
|
|
43
|
-
end
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module VitableConnect
|
|
4
|
-
module Models
|
|
5
|
-
class EmployerCreateBenefitEligibilityPolicyParams < VitableConnect::Internal::Type::BaseModel
|
|
6
|
-
extend VitableConnect::Internal::Type::RequestParameters::Converter
|
|
7
|
-
include VitableConnect::Internal::Type::RequestParameters
|
|
8
|
-
|
|
9
|
-
OrHash =
|
|
10
|
-
T.type_alias do
|
|
11
|
-
T.any(
|
|
12
|
-
VitableConnect::EmployerCreateBenefitEligibilityPolicyParams,
|
|
13
|
-
VitableConnect::Internal::AnyHash
|
|
14
|
-
)
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
# Unique employer identifier (empr\_\*)
|
|
18
|
-
sig { returns(String) }
|
|
19
|
-
attr_accessor :employer_id
|
|
20
|
-
|
|
21
|
-
# Which employee classifications are eligible. One of: full_time, part_time, all
|
|
22
|
-
sig { returns(String) }
|
|
23
|
-
attr_accessor :classification
|
|
24
|
-
|
|
25
|
-
# Waiting period before eligibility. One of: first_of_following_month, 30_days,
|
|
26
|
-
# 60_days, none
|
|
27
|
-
sig { returns(String) }
|
|
28
|
-
attr_accessor :waiting_period
|
|
29
|
-
|
|
30
|
-
sig do
|
|
31
|
-
params(
|
|
32
|
-
employer_id: String,
|
|
33
|
-
classification: String,
|
|
34
|
-
waiting_period: String,
|
|
35
|
-
request_options: VitableConnect::RequestOptions::OrHash
|
|
36
|
-
).returns(T.attached_class)
|
|
37
|
-
end
|
|
38
|
-
def self.new(
|
|
39
|
-
# Unique employer identifier (empr\_\*)
|
|
40
|
-
employer_id:,
|
|
41
|
-
# Which employee classifications are eligible. One of: full_time, part_time, all
|
|
42
|
-
classification:,
|
|
43
|
-
# Waiting period before eligibility. One of: first_of_following_month, 30_days,
|
|
44
|
-
# 60_days, none
|
|
45
|
-
waiting_period:,
|
|
46
|
-
request_options: {}
|
|
47
|
-
)
|
|
48
|
-
end
|
|
49
|
-
|
|
50
|
-
sig do
|
|
51
|
-
override.returns(
|
|
52
|
-
{
|
|
53
|
-
employer_id: String,
|
|
54
|
-
classification: String,
|
|
55
|
-
waiting_period: String,
|
|
56
|
-
request_options: VitableConnect::RequestOptions
|
|
57
|
-
}
|
|
58
|
-
)
|
|
59
|
-
end
|
|
60
|
-
def to_hash
|
|
61
|
-
end
|
|
62
|
-
end
|
|
63
|
-
end
|
|
64
|
-
end
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
module VitableConnect
|
|
2
|
-
module Models
|
|
3
|
-
type benefit_eligibility_policy =
|
|
4
|
-
{
|
|
5
|
-
id: String,
|
|
6
|
-
active: bool,
|
|
7
|
-
classification: String,
|
|
8
|
-
created_at: Time,
|
|
9
|
-
employer_id: String,
|
|
10
|
-
updated_at: Time,
|
|
11
|
-
waiting_period: String
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
class BenefitEligibilityPolicy < VitableConnect::Internal::Type::BaseModel
|
|
15
|
-
attr_accessor active: bool
|
|
16
|
-
|
|
17
|
-
attr_accessor created_at: Time
|
|
18
|
-
|
|
19
|
-
attr_accessor updated_at: Time
|
|
20
|
-
|
|
21
|
-
attr_accessor id: String
|
|
22
|
-
|
|
23
|
-
attr_accessor classification: String
|
|
24
|
-
|
|
25
|
-
attr_accessor employer_id: String
|
|
26
|
-
|
|
27
|
-
attr_accessor waiting_period: String
|
|
28
|
-
|
|
29
|
-
def initialize: (
|
|
30
|
-
id: String,
|
|
31
|
-
active: bool,
|
|
32
|
-
classification: String,
|
|
33
|
-
created_at: Time,
|
|
34
|
-
employer_id: String,
|
|
35
|
-
updated_at: Time,
|
|
36
|
-
waiting_period: String
|
|
37
|
-
) -> void
|
|
38
|
-
|
|
39
|
-
def to_hash: -> {
|
|
40
|
-
id: String,
|
|
41
|
-
active: bool,
|
|
42
|
-
classification: String,
|
|
43
|
-
created_at: Time,
|
|
44
|
-
employer_id: String,
|
|
45
|
-
updated_at: Time,
|
|
46
|
-
waiting_period: String
|
|
47
|
-
}
|
|
48
|
-
end
|
|
49
|
-
end
|
|
50
|
-
end
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
module VitableConnect
|
|
2
|
-
module Models
|
|
3
|
-
type benefit_eligibility_policy_response =
|
|
4
|
-
{ data: VitableConnect::BenefitEligibilityPolicy }
|
|
5
|
-
|
|
6
|
-
class BenefitEligibilityPolicyResponse < VitableConnect::Internal::Type::BaseModel
|
|
7
|
-
attr_accessor data: VitableConnect::BenefitEligibilityPolicy
|
|
8
|
-
|
|
9
|
-
def initialize: (data: VitableConnect::BenefitEligibilityPolicy) -> void
|
|
10
|
-
|
|
11
|
-
def to_hash: -> { data: VitableConnect::BenefitEligibilityPolicy }
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
module VitableConnect
|
|
2
|
-
module Models
|
|
3
|
-
type benefit_eligibility_policy_retrieve_params =
|
|
4
|
-
{ policy_id: String } & VitableConnect::Internal::Type::request_parameters
|
|
5
|
-
|
|
6
|
-
class BenefitEligibilityPolicyRetrieveParams < VitableConnect::Internal::Type::BaseModel
|
|
7
|
-
extend VitableConnect::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include VitableConnect::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
attr_accessor policy_id: String
|
|
11
|
-
|
|
12
|
-
def initialize: (
|
|
13
|
-
policy_id: String,
|
|
14
|
-
?request_options: VitableConnect::request_opts
|
|
15
|
-
) -> void
|
|
16
|
-
|
|
17
|
-
def to_hash: -> {
|
|
18
|
-
policy_id: String,
|
|
19
|
-
request_options: VitableConnect::RequestOptions
|
|
20
|
-
}
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
end
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
module VitableConnect
|
|
2
|
-
module Models
|
|
3
|
-
type employer_create_benefit_eligibility_policy_params =
|
|
4
|
-
{ employer_id: String, classification: String, waiting_period: String }
|
|
5
|
-
& VitableConnect::Internal::Type::request_parameters
|
|
6
|
-
|
|
7
|
-
class EmployerCreateBenefitEligibilityPolicyParams < VitableConnect::Internal::Type::BaseModel
|
|
8
|
-
extend VitableConnect::Internal::Type::RequestParameters::Converter
|
|
9
|
-
include VitableConnect::Internal::Type::RequestParameters
|
|
10
|
-
|
|
11
|
-
attr_accessor employer_id: String
|
|
12
|
-
|
|
13
|
-
attr_accessor classification: String
|
|
14
|
-
|
|
15
|
-
attr_accessor waiting_period: String
|
|
16
|
-
|
|
17
|
-
def initialize: (
|
|
18
|
-
employer_id: String,
|
|
19
|
-
classification: String,
|
|
20
|
-
waiting_period: String,
|
|
21
|
-
?request_options: VitableConnect::request_opts
|
|
22
|
-
) -> void
|
|
23
|
-
|
|
24
|
-
def to_hash: -> {
|
|
25
|
-
employer_id: String,
|
|
26
|
-
classification: String,
|
|
27
|
-
waiting_period: String,
|
|
28
|
-
request_options: VitableConnect::RequestOptions
|
|
29
|
-
}
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
end
|