Class: VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::EligibilityPolicy::Rule::EligibleGeographicalLocation

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rb,
sig/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rbs

Overview

See Also:

  • VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::EligibilityPolicy::Rule#eligible_geographical_location

Defined Under Namespace

Modules: Type

Instance Attribute Summary collapse

Instance Method Summary collapse

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(state_codes:, type:) ⇒ Object

Some parameter documentations has been truncated, see VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::EligibilityPolicy::Rule::EligibleGeographicalLocation for more details.

Geographic matcher.

Parameters:



# File 'lib/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rb', line 615

Instance Attribute Details

#state_codesArray<String>

States the rule is restricted to; empty when type is All.

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


605
# File 'lib/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rb', line 605

required :state_codes, VitableConnect::Internal::Type::ArrayOf[String]

#typeSymbol, VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::EligibilityPolicy::Rule::EligibleGeographicalLocation::Type

  • All - All
  • StateCodes - State Codes

Parameters:

  • value (VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::EligibilityPolicy::Rule::EligibleGeographicalLocation::type_)

Returns:



612
613
# File 'lib/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rb', line 612

required :type,
enum: -> { VitableConnect::Models::EmployerRetrieveBenefitPlanYearResponse::Data::EligibilityPolicy::Rule::EligibleGeographicalLocation::Type }

Instance Method Details

#to_hash{

Returns:

  • ({)


397
# File 'sig/vitable_connect/models/employer_retrieve_benefit_plan_year_response.rbs', line 397

def to_hash: -> {