canOrderBy property

List<String> canOrderBy

possible orderings with parameter ?order=

  • app_name: (URLParameter), prefix with a hyphen (-app_name) to reverse the order
  • bounced_at: (URLParameter), prefix with a hyphen (-bounced_at) to reverse the order
  • created_at: (URLParameter), prefix with a hyphen (-created_at) to reverse the order
  • delivery_status: (URLParameter), prefix with a hyphen (-delivery_status) to reverse the order
  • file: (URLParameter), prefix with a hyphen (-file) to reverse the order
  • from_address: (URLParameter), prefix with a hyphen (-from_address) to reverse the order
  • from_name: (URLParameter), prefix with a hyphen (-from_name) to reverse the order
  • kind: (URLParameter), prefix with a hyphen (-kind) to reverse the order
  • reject_reason: (URLParameter), prefix with a hyphen (-reject_reason) to reverse the order
  • rejection_notification_sent_at: (URLParameter), prefix with a hyphen (-rejection_notification_sent_at) to reverse the order
  • sent_at: (URLParameter), prefix with a hyphen (-sent_at) to reverse the order
  • subject: (URLParameter), prefix with a hyphen (-subject) to reverse the order
  • to_addresses: (URLParameter), prefix with a hyphen (-to_addresses) to reverse the order

Implementation

static List<String> get canOrderBy => [
      'app_name',
      'bounced_at',
      'created_at',
      'delivery_status',
      'file',
      'from_address',
      'from_name',
      'kind',
      'reject_reason',
      'rejection_notification_sent_at',
      'sent_at',
      'subject',
      'to_addresses'
    ];