Class: VitableConnect::Models::EmployerCreateBenefitEligibilityPolicyParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/vitable_connect/models/employer_create_benefit_eligibility_policy_params.rb

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(employer_id:, classification:, waiting_period:, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see VitableConnect::Models::EmployerCreateBenefitEligibilityPolicyParams for more details.

Parameters:

  • employer_id (String)

    Unique employer identifier (empr_*)

  • classification (String)

    Which employee classifications are eligible. One of: full_time, part_time, all

  • waiting_period (String)

    Waiting period before eligibility. One of: first_of_following_month, 30_days, 60

  • request_options (VitableConnect::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/vitable_connect/models/employer_create_benefit_eligibility_policy_params.rb', line 29

Instance Attribute Details

#classificationString

Which employee classifications are eligible. One of: full_time, part_time, all

Returns:

  • (String)


20
# File 'lib/vitable_connect/models/employer_create_benefit_eligibility_policy_params.rb', line 20

required :classification, String

#employer_idString

Unique employer identifier (empr_*)

Returns:

  • (String)


14
# File 'lib/vitable_connect/models/employer_create_benefit_eligibility_policy_params.rb', line 14

required :employer_id, String

#waiting_periodString

Waiting period before eligibility. One of: first_of_following_month, 30_days, 60_days, none

Returns:

  • (String)


27
# File 'lib/vitable_connect/models/employer_create_benefit_eligibility_policy_params.rb', line 27

required :waiting_period, String