Class: GustoEmbedded::Models::Operations::PutV1EmployeeFormSignRequest
- Inherits:
-
Object
- Object
- GustoEmbedded::Models::Operations::PutV1EmployeeFormSignRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/gusto_embedded/models/operations/put_v1_employee_form_sign_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(employee_id:, form_id:, request_body:, x_gusto_client_ip: nil, x_gusto_api_version: Models::Operations::PutV1EmployeeFormSignHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) ⇒ PutV1EmployeeFormSignRequest
constructor
A new instance of PutV1EmployeeFormSignRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(employee_id:, form_id:, request_body:, x_gusto_client_ip: nil, x_gusto_api_version: Models::Operations::PutV1EmployeeFormSignHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) ⇒ PutV1EmployeeFormSignRequest
Returns a new instance of PutV1EmployeeFormSignRequest.
27 28 29 30 31 32 33 |
# File 'lib/gusto_embedded/models/operations/put_v1_employee_form_sign_request.rb', line 27 def initialize(employee_id:, form_id:, request_body:, x_gusto_client_ip: nil, x_gusto_api_version: Models::Operations::PutV1EmployeeFormSignHeaderXGustoAPIVersion::TWO_THOUSAND_AND_TWENTY_FIVE_MINUS_06_MINUS_15) @employee_id = employee_id @form_id = form_id @request_body = request_body @x_gusto_client_ip = x_gusto_client_ip @x_gusto_api_version = x_gusto_api_version end |
Instance Method Details
#==(other) ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/gusto_embedded/models/operations/put_v1_employee_form_sign_request.rb', line 36 def ==(other) return false unless other.is_a? self.class return false unless @employee_id == other.employee_id return false unless @form_id == other.form_id return false unless @request_body == other.request_body return false unless @x_gusto_client_ip == other.x_gusto_client_ip return false unless @x_gusto_api_version == other.x_gusto_api_version true end |