Class: Google::Apis::JobsV4::CompensationInfo
- Inherits:
-
Object
- Object
- Google::Apis::JobsV4::CompensationInfo
- 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
Job compensation details.
Instance Attribute Summary collapse
-
#annualized_base_compensation_range ⇒ Google::Apis::JobsV4::CompensationRange
Compensation range.
-
#annualized_total_compensation_range ⇒ Google::Apis::JobsV4::CompensationRange
Compensation range.
-
#entries ⇒ Array<Google::Apis::JobsV4::CompensationEntry>
Job compensation information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CompensationInfo
constructor
A new instance of CompensationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CompensationInfo
Returns a new instance of CompensationInfo.
652 653 654 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 652 def initialize(**args) update!(**args) end |
Instance Attribute Details
#annualized_base_compensation_range ⇒ Google::Apis::JobsV4::CompensationRange
Compensation range.
Corresponds to the JSON property annualizedBaseCompensationRange
638 639 640 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 638 def annualized_base_compensation_range @annualized_base_compensation_range end |
#annualized_total_compensation_range ⇒ Google::Apis::JobsV4::CompensationRange
Compensation range.
Corresponds to the JSON property annualizedTotalCompensationRange
643 644 645 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 643 def annualized_total_compensation_range @annualized_total_compensation_range end |
#entries ⇒ Array<Google::Apis::JobsV4::CompensationEntry>
Job compensation information. At most one entry can be of type
CompensationInfo.CompensationType.BASE, which is referred as base
compensation entry for the job.
Corresponds to the JSON property entries
650 651 652 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 650 def entries @entries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
657 658 659 660 661 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 657 def update!(**args) @annualized_base_compensation_range = args[:annualized_base_compensation_range] if args.key?(:annualized_base_compensation_range) @annualized_total_compensation_range = args[:annualized_total_compensation_range] if args.key?(:annualized_total_compensation_range) @entries = args[:entries] if args.key?(:entries) end |