Class: StackOne::Models::Operations::HrisGetEmployeeEmploymentRequest
- Inherits:
-
Object
- Object
- StackOne::Models::Operations::HrisGetEmployeeEmploymentRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/operations/hris_get_employee_employment_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id:, sub_resource_id:, x_account_id:, prefer: nil, expand: nil, fields_: nil, proxy: nil, raw: nil) ⇒ HrisGetEmployeeEmploymentRequest
constructor
A new instance of HrisGetEmployeeEmploymentRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id:, sub_resource_id:, x_account_id:, prefer: nil, expand: nil, fields_: nil, proxy: nil, raw: nil) ⇒ HrisGetEmployeeEmploymentRequest
Returns a new instance of HrisGetEmployeeEmploymentRequest.
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/stack_one/models/operations/hris_get_employee_employment_request.rb', line 33 def initialize(id:, sub_resource_id:, x_account_id:, prefer: nil, expand: nil, fields_: nil, proxy: nil, raw: nil) @id = id @sub_resource_id = sub_resource_id @x_account_id = x_account_id @prefer = prefer @expand = @fields_ = fields_ @proxy = proxy @raw = raw end |
Instance Method Details
#==(other) ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/stack_one/models/operations/hris_get_employee_employment_request.rb', line 45 def ==(other) return false unless other.is_a? self.class return false unless @id == other.id return false unless @sub_resource_id == other.sub_resource_id return false unless @x_account_id == other.x_account_id return false unless @prefer == other.prefer return false unless @expand == other. return false unless @fields_ == other.fields_ return false unless @proxy == other.proxy return false unless @raw == other.raw true end |