Class: FinchAPI::Models::HRIS::DocumentResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- FinchAPI::Models::HRIS::DocumentResponse
- Defined in:
- lib/finch_api/models/hris/document_response.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#id ⇒ String?
A stable Finch id for the document.
-
#individual_id ⇒ String?
The ID of the individual associated with the document.
-
#type ⇒ Symbol, ...
The type of document.
-
#url ⇒ String?
A URL to access the document.
-
#year ⇒ Float?
The year the document applies to, if available.
Instance Method Summary collapse
-
#initialize(id: nil, individual_id: nil, type: nil, url: nil, year: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see DocumentResponse for more details.
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(id: nil, individual_id: nil, type: nil, url: nil, year: nil) ⇒ Object
Some parameter documentations has been truncated, see FinchAPI::Models::HRIS::DocumentResponse for more details.
|
|
# File 'lib/finch_api/models/hris/document_response.rb', line 39
|
Instance Attribute Details
#id ⇒ String?
A stable Finch id for the document.
11 |
# File 'lib/finch_api/models/hris/document_response.rb', line 11 optional :id, String |
#individual_id ⇒ String?
The ID of the individual associated with the document. This will be null for employer-level documents.
18 |
# File 'lib/finch_api/models/hris/document_response.rb', line 18 optional :individual_id, String, nil?: true |
#type ⇒ Symbol, ...
The type of document.
24 |
# File 'lib/finch_api/models/hris/document_response.rb', line 24 optional :type, enum: -> { FinchAPI::HRIS::DocumentResponse::Type } |
#url ⇒ String?
A URL to access the document. Format: ‘api.tryfinch.com/employer/documents/:document_id`.
31 |
# File 'lib/finch_api/models/hris/document_response.rb', line 31 optional :url, String |
#year ⇒ Float?
The year the document applies to, if available.
37 |
# File 'lib/finch_api/models/hris/document_response.rb', line 37 optional :year, Float, nil?: true |