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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


1075
1076
1077
1078
1079
# File 'lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1075

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

#sort_orderString

Ordering direction.

Returns:

  • (String)


1075
1076
1077
1078
1079
# File 'lib/aws-sdk-applicationdiscoveryservice/types.rb', line 1075

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