Class: GustoEmbedded::Models::Operations::GetV1CompanyFormRequest
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Operations::GetV1CompanyFormRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/operations/get_v1_company_form_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(form_id:, x_gusto_api_version: Models::Operations::GetV1CompanyFormHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) ⇒ GetV1CompanyFormRequest
constructor
A new instance of GetV1CompanyFormRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(form_id:, x_gusto_api_version: Models::Operations::GetV1CompanyFormHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) ⇒ GetV1CompanyFormRequest
Returns a new instance of GetV1CompanyFormRequest.
21 22 23 24 |
# File 'lib/gusto_embedded/models/operations/get_v1_company_form_request.rb', line 21 def initialize(form_id:, x_gusto_api_version: Models::Operations::GetV1CompanyFormHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) @form_id = form_id @x_gusto_api_version = x_gusto_api_version end |
Instance Method Details
#==(other) ⇒ Object
27 28 29 30 31 32 |
# File 'lib/gusto_embedded/models/operations/get_v1_company_form_request.rb', line 27 def ==(other) return false unless other.is_a? self.class return false unless @form_id == other.form_id return false unless @x_gusto_api_version == other.x_gusto_api_version true end |