Class: Aws::ApplicationDiscoveryService::Types::OrderByElement

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb

Overview

Note:

When making an API call, you may pass OrderByElement data as a hash:

{
  field_name: "String", # required
  sort_order: "ASC", # accepts ASC, DESC
}

A field and direction for ordered output.

Instance Attribute Summary collapse

Instance Attribute Details

#field_nameString

The field on which to order.

Returns:

  • (String)


1529
1530
1531
1532
1533
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1529

class OrderByElement < Struct.new(
  :field_name,
  :sort_order)
  include Aws::Structure
end

#sort_orderString

Ordering direction.

Returns:

  • (String)


1529
1530
1531
1532
1533
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1529

class OrderByElement < Struct.new(
  :field_name,
  :sort_order)
  include Aws::Structure
end