Class: Google::Apis::JobsV3::CompensationFilter
- Inherits:
-
Object
- Object
- Google::Apis::JobsV3::CompensationFilter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/jobs_v3/classes.rb,
generated/google/apis/jobs_v3/representations.rb,
generated/google/apis/jobs_v3/representations.rb
Overview
Input only. Filter on job compensation type and amount.
Instance Attribute Summary collapse
-
#include_jobs_with_unspecified_compensation_range ⇒ Boolean
(also: #include_jobs_with_unspecified_compensation_range?)
Optional.
-
#range ⇒ Google::Apis::JobsV3::CompensationRange
Compensation range.
-
#type ⇒ String
Required.
-
#units ⇒ Array<String>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CompensationFilter
constructor
A new instance of CompensationFilter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CompensationFilter
Returns a new instance of CompensationFilter
567 568 569 |
# File 'generated/google/apis/jobs_v3/classes.rb', line 567 def initialize(**args) update!(**args) end |
Instance Attribute Details
#include_jobs_with_unspecified_compensation_range ⇒ Boolean Also known as: include_jobs_with_unspecified_compensation_range?
Optional.
Whether to include jobs whose compensation range is unspecified.
Corresponds to the JSON property includeJobsWithUnspecifiedCompensationRange
546 547 548 |
# File 'generated/google/apis/jobs_v3/classes.rb', line 546 def include_jobs_with_unspecified_compensation_range @include_jobs_with_unspecified_compensation_range end |
#range ⇒ Google::Apis::JobsV3::CompensationRange
Compensation range.
Corresponds to the JSON property range
552 553 554 |
# File 'generated/google/apis/jobs_v3/classes.rb', line 552 def range @range end |
#type ⇒ String
Required.
Type of filter.
Corresponds to the JSON property type
558 559 560 |
# File 'generated/google/apis/jobs_v3/classes.rb', line 558 def type @type end |
#units ⇒ Array<String>
Required.
Specify desired base compensation entry's
CompensationInfo.CompensationUnit.
Corresponds to the JSON property units
565 566 567 |
# File 'generated/google/apis/jobs_v3/classes.rb', line 565 def units @units end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
572 573 574 575 576 577 |
# File 'generated/google/apis/jobs_v3/classes.rb', line 572 def update!(**args) @include_jobs_with_unspecified_compensation_range = args[:include_jobs_with_unspecified_compensation_range] if args.key?(:include_jobs_with_unspecified_compensation_range) @range = args[:range] if args.key?(:range) @type = args[:type] if args.key?(:type) @units = args[:units] if args.key?(:units) end |