Class: Moov::Models::Operations::ListTicketsRequest

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(account_id:, x_moov_version: nil, cursor: nil, count: nil, status: nil, foreign_id: nil) ⇒ ListTicketsRequest

Returns a new instance of ListTicketsRequest.



38
39
40
41
42
43
44
45
# File 'lib/moov/models/operations/listtickets_request.rb', line 38

def initialize(account_id:, x_moov_version: nil, cursor: nil, count: nil, status: nil, foreign_id: nil)
  @account_id = 
  @x_moov_version = x_moov_version
  @cursor = cursor
  @count = count
  @status = status
  @foreign_id = foreign_id
end

Instance Method Details

#==(other) ⇒ Object



48
49
50
51
52
53
54
55
56
57
# File 'lib/moov/models/operations/listtickets_request.rb', line 48

def ==(other)
  return false unless other.is_a? self.class
  return false unless @account_id == other.
  return false unless @x_moov_version == other.x_moov_version
  return false unless @cursor == other.cursor
  return false unless @count == other.count
  return false unless @status == other.status
  return false unless @foreign_id == other.foreign_id
  true
end