|
| 1 | +# frozen_string_literal: true |
| 2 | + |
| 3 | +module FinchAPI |
| 4 | + module Models |
| 5 | + module HRIS |
| 6 | + module Benefits |
| 7 | + # @see FinchAPI::Resources::HRIS::Benefits::Individuals#unenroll_many |
| 8 | + class UnenrolledIndividual < FinchAPI::Internal::Type::BaseModel |
| 9 | + # @!attribute [r] body |
| 10 | + # |
| 11 | + # @return [FinchAPI::Models::HRIS::Benefits::UnenrolledIndividual::Body, nil] |
| 12 | + optional :body, -> { FinchAPI::Models::HRIS::Benefits::UnenrolledIndividual::Body } |
| 13 | + |
| 14 | + # @!parse |
| 15 | + # # @return [FinchAPI::Models::HRIS::Benefits::UnenrolledIndividual::Body] |
| 16 | + # attr_writer :body |
| 17 | + |
| 18 | + # @!attribute [r] code |
| 19 | + # HTTP status code |
| 20 | + # |
| 21 | + # @return [Integer, nil] |
| 22 | + optional :code, Integer |
| 23 | + |
| 24 | + # @!parse |
| 25 | + # # @return [Integer] |
| 26 | + # attr_writer :code |
| 27 | + |
| 28 | + # @!attribute [r] individual_id |
| 29 | + # |
| 30 | + # @return [String, nil] |
| 31 | + optional :individual_id, String |
| 32 | + |
| 33 | + # @!parse |
| 34 | + # # @return [String] |
| 35 | + # attr_writer :individual_id |
| 36 | + |
| 37 | + # @!parse |
| 38 | + # # @param body [FinchAPI::Models::HRIS::Benefits::UnenrolledIndividual::Body] |
| 39 | + # # @param code [Integer] |
| 40 | + # # @param individual_id [String] |
| 41 | + # # |
| 42 | + # def initialize(body: nil, code: nil, individual_id: nil, **) = super |
| 43 | + |
| 44 | + # def initialize: (Hash | FinchAPI::Internal::Type::BaseModel) -> void |
| 45 | + |
| 46 | + # @see FinchAPI::Models::HRIS::Benefits::UnenrolledIndividual#body |
| 47 | + class Body < FinchAPI::Internal::Type::BaseModel |
| 48 | + # @!attribute finch_code |
| 49 | + # A descriptive identifier for the response. |
| 50 | + # |
| 51 | + # @return [String, nil] |
| 52 | + optional :finch_code, String, nil?: true |
| 53 | + |
| 54 | + # @!attribute message |
| 55 | + # Short description in English that provides more information about the response. |
| 56 | + # |
| 57 | + # @return [String, nil] |
| 58 | + optional :message, String, nil?: true |
| 59 | + |
| 60 | + # @!attribute name |
| 61 | + # Identifier indicating whether the benefit was newly enrolled or updated. |
| 62 | + # |
| 63 | + # @return [String, nil] |
| 64 | + optional :name, String, nil?: true |
| 65 | + |
| 66 | + # @!parse |
| 67 | + # # @param finch_code [String, nil] |
| 68 | + # # @param message [String, nil] |
| 69 | + # # @param name [String, nil] |
| 70 | + # # |
| 71 | + # def initialize(finch_code: nil, message: nil, name: nil, **) = super |
| 72 | + |
| 73 | + # def initialize: (Hash | FinchAPI::Internal::Type::BaseModel) -> void |
| 74 | + end |
| 75 | + end |
| 76 | + end |
| 77 | + end |
| 78 | + end |
| 79 | +end |
0 commit comments