Class: Aws::Deadline::Types::SearchSortExpression

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

Overview

Note:

SearchSortExpression is a union - when making an API calls you must set exactly one of the members.

The resources to search.

Direct Known Subclasses

FieldSort, ParameterSort, Unknown, UserJobsFirst

Defined Under Namespace

Classes: FieldSort, ParameterSort, Unknown, UserJobsFirst

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#field_sortTypes::FieldSortExpression

Options for sorting by a field.



6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 6745

class SearchSortExpression < Struct.new(
  :field_sort,
  :parameter_sort,
  :user_jobs_first,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class FieldSort < SearchSortExpression; end
  class ParameterSort < SearchSortExpression; end
  class UserJobsFirst < SearchSortExpression; end
  class Unknown < SearchSortExpression; end
end

#parameter_sortTypes::ParameterSortExpression

Options for sorting by a parameter.



6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 6745

class SearchSortExpression < Struct.new(
  :field_sort,
  :parameter_sort,
  :user_jobs_first,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class FieldSort < SearchSortExpression; end
  class ParameterSort < SearchSortExpression; end
  class UserJobsFirst < SearchSortExpression; end
  class Unknown < SearchSortExpression; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



6745
6746
6747
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 6745

def unknown
  @unknown
end

#user_jobs_firstTypes::UserJobsFirst

Options for sorting a particular user's jobs first.



6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/types.rb', line 6745

class SearchSortExpression < Struct.new(
  :field_sort,
  :parameter_sort,
  :user_jobs_first,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class FieldSort < SearchSortExpression; end
  class ParameterSort < SearchSortExpression; end
  class UserJobsFirst < SearchSortExpression; end
  class Unknown < SearchSortExpression; end
end