Class: Moov::Models::Operations::GetAvatarRequest

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/moov/models/operations/getavatar_request.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(unique_id:, x_moov_version: 'v2024.01.00') ⇒ GetAvatarRequest

Returns a new instance of GetAvatarRequest.



30
31
32
33
# File 'lib/moov/models/operations/getavatar_request.rb', line 30

def initialize(unique_id:, x_moov_version: 'v2024.01.00')
  @unique_id = unique_id
  @x_moov_version = x_moov_version
end

Instance Method Details

#==(other) ⇒ Object



36
37
38
39
40
41
# File 'lib/moov/models/operations/getavatar_request.rb', line 36

def ==(other)
  return false unless other.is_a? self.class
  return false unless @unique_id == other.unique_id
  return false unless @x_moov_version == other.x_moov_version
  true
end