Class: StackOne::Models::Shared::HrisCreateWorkEligibilityRequestDto
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::HrisCreateWorkEligibilityRequestDto
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(document: nil, issued_by: nil, number: nil, passthrough: nil, sub_type: nil, type: nil, valid_from: nil, valid_to: nil) ⇒ HrisCreateWorkEligibilityRequestDto
constructor
A new instance of HrisCreateWorkEligibilityRequestDto.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(document: nil, issued_by: nil, number: nil, passthrough: nil, sub_type: nil, type: nil, valid_from: nil, valid_to: nil) ⇒ HrisCreateWorkEligibilityRequestDto
Returns a new instance of HrisCreateWorkEligibilityRequestDto.
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb', line 33 def initialize(document: nil, issued_by: nil, number: nil, passthrough: nil, sub_type: nil, type: nil, valid_from: nil, valid_to: nil) @document = document @issued_by = issued_by @number = number @passthrough = passthrough @sub_type = sub_type @type = type @valid_from = valid_from @valid_to = valid_to end |
Instance Method Details
#==(other) ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb', line 45 def ==(other) return false unless other.is_a? self.class return false unless @document == other.document return false unless @issued_by == other.issued_by return false unless @number == other.number return false unless @passthrough == other.passthrough return false unless @sub_type == other.sub_type return false unless @type == other.type return false unless @valid_from == other.valid_from return false unless @valid_to == other.valid_to true end |