Class: StackOne::Models::Operations::HrisGetPositionRequest
- Inherits:
-
Object
- Object
- StackOne::Models::Operations::HrisGetPositionRequest
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/operations/hris_get_position_request.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id:, x_account_id:, prefer: nil, fields_: nil, proxy: nil, raw: nil) ⇒ HrisGetPositionRequest
constructor
A new instance of HrisGetPositionRequest.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id:, x_account_id:, prefer: nil, fields_: nil, proxy: nil, raw: nil) ⇒ HrisGetPositionRequest
Returns a new instance of HrisGetPositionRequest.
29 30 31 32 33 34 35 36 |
# File 'lib/stack_one/models/operations/hris_get_position_request.rb', line 29 def initialize(id:, x_account_id:, prefer: nil, fields_: nil, proxy: nil, raw: nil) @id = id @x_account_id = x_account_id @prefer = prefer @fields_ = fields_ @proxy = proxy @raw = raw end |
Instance Method Details
#==(other) ⇒ Object
39 40 41 42 43 44 45 46 47 48 |
# File 'lib/stack_one/models/operations/hris_get_position_request.rb', line 39 def ==(other) return false unless other.is_a? self.class return false unless @id == other.id return false unless @x_account_id == other.x_account_id return false unless @prefer == other.prefer return false unless @fields_ == other.fields_ return false unless @proxy == other.proxy return false unless @raw == other.raw true end |