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:, cursor: nil, count: nil, status: nil, x_moov_version: 'v2024.01.00') ⇒ ListTicketsRequest

Returns a new instance of ListTicketsRequest.



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

def initialize(account_id:, cursor: nil, count: nil, status: nil, x_moov_version: 'v2024.01.00')
  @account_id = 
  @cursor = cursor
  @count = count
  @status = status
  @x_moov_version = x_moov_version
end

Instance Method Details

#==(other) ⇒ Object



45
46
47
48
49
50
51
52
53
# File 'lib/moov/models/operations/listtickets_request.rb', line 45

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