Class: Google::Apis::JobsV2::ExtendedCompensationFilter
- Inherits:
-
Object
- Object
- Google::Apis::JobsV2::ExtendedCompensationFilter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/jobs_v2/classes.rb,
generated/google/apis/jobs_v2/representations.rb,
generated/google/apis/jobs_v2/representations.rb
Overview
Deprecated. Always use CompensationFilter. Input only. Filter on job compensation type and amount.
Instance Attribute Summary collapse
-
#compensation_range ⇒ Google::Apis::JobsV2::ExtendedCompensationInfoCompensationRange
Deprecated.
-
#compensation_units ⇒ Array<String>
Required.
-
#currency ⇒ String
Optional.
-
#include_job_with_unspecified_compensation_range ⇒ Boolean
(also: #include_job_with_unspecified_compensation_range?)
Optional.
-
#type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExtendedCompensationFilter
constructor
A new instance of ExtendedCompensationFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ExtendedCompensationFilter
Returns a new instance of ExtendedCompensationFilter
1115 1116 1117 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1115 def initialize(**args) update!(**args) end |
Instance Attribute Details
#compensation_range ⇒ Google::Apis::JobsV2::ExtendedCompensationInfoCompensationRange
Deprecated. See CompensationInfo.
Compensation range.
Corresponds to the JSON property compensationRange
1085 1086 1087 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1085 def compensation_range @compensation_range end |
#compensation_units ⇒ Array<String>
Required.
Specify desired base compensation entry's
ExtendedCompensationInfo.CompensationUnit.
Corresponds to the JSON property compensationUnits
1092 1093 1094 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1092 def compensation_units @compensation_units end |
#currency ⇒ String
Optional.
Specify currency in 3-letter
ISO 4217 format. If
unspecified, jobs are returned regardless of currency.
Corresponds to the JSON property currency
1100 1101 1102 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1100 def currency @currency end |
#include_job_with_unspecified_compensation_range ⇒ Boolean Also known as: include_job_with_unspecified_compensation_range?
Optional.
Whether to include jobs whose compensation range is unspecified.
Corresponds to the JSON property includeJobWithUnspecifiedCompensationRange
1106 1107 1108 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1106 def include_job_with_unspecified_compensation_range @include_job_with_unspecified_compensation_range end |
#type ⇒ String
Required.
Type of filter.
Corresponds to the JSON property type
1113 1114 1115 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1113 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1120 1121 1122 1123 1124 1125 1126 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1120 def update!(**args) @compensation_range = args[:compensation_range] if args.key?(:compensation_range) @compensation_units = args[:compensation_units] if args.key?(:compensation_units) @currency = args[:currency] if args.key?(:currency) @include_job_with_unspecified_compensation_range = args[:include_job_with_unspecified_compensation_range] if args.key?(:include_job_with_unspecified_compensation_range) @type = args[:type] if args.key?(:type) end |