Class: Google::Apis::JobsV4::CompensationFilter
- Inherits:
-
Object
- Object
- Google::Apis::JobsV4::CompensationFilter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/jobs_v4/classes.rb,
lib/google/apis/jobs_v4/representations.rb,
lib/google/apis/jobs_v4/representations.rb
Overview
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?)
If set to true, jobs with unspecified compensation range fields are included.
-
#range ⇒ Google::Apis::JobsV4::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.
Constructor Details
#initialize(**args) ⇒ CompensationFilter
Returns a new instance of CompensationFilter.
618 619 620 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 618 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?
If set to true, jobs with unspecified compensation range fields are included.
Corresponds to the JSON property includeJobsWithUnspecifiedCompensationRange
599 600 601 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 599 def include_jobs_with_unspecified_compensation_range @include_jobs_with_unspecified_compensation_range end |
#range ⇒ Google::Apis::JobsV4::CompensationRange
Compensation range.
Corresponds to the JSON property range
605 606 607 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 605 def range @range end |
#type ⇒ String
Required. Type of filter.
Corresponds to the JSON property type
610 611 612 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 610 def type @type end |
#units ⇒ Array<String>
Required. Specify desired base compensation entry's
CompensationInfo.
CompensationUnit.
Corresponds to the JSON property units
616 617 618 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 616 def units @units end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
623 624 625 626 627 628 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 623 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 |