Class: Google::Apis::JobsV2::CompensationInfo
- Inherits:
-
Object
- Object
- Google::Apis::JobsV2::CompensationInfo
- 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
Job compensation details.
Instance Attribute Summary collapse
-
#amount ⇒ Google::Apis::JobsV2::Money
Represents an amount of money with its currency type.
-
#annualized_base_compensation_range ⇒ Google::Apis::JobsV2::CompensationRange
Compensation range.
-
#annualized_total_compensation_range ⇒ Google::Apis::JobsV2::CompensationRange
Compensation range.
-
#entries ⇒ Array<Google::Apis::JobsV2::CompensationEntry>
Optional.
-
#max ⇒ Google::Apis::JobsV2::Money
Represents an amount of money with its currency type.
-
#min ⇒ Google::Apis::JobsV2::Money
Represents an amount of money with its currency type.
-
#type ⇒ String
Deprecated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CompensationInfo
constructor
A new instance of CompensationInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CompensationInfo
Returns a new instance of CompensationInfo
645 646 647 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 645 def initialize(**args) update!(**args) end |
Instance Attribute Details
#amount ⇒ Google::Apis::JobsV2::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property amount
607 608 609 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 607 def amount @amount end |
#annualized_base_compensation_range ⇒ Google::Apis::JobsV2::CompensationRange
Compensation range.
Corresponds to the JSON property annualizedBaseCompensationRange
612 613 614 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 612 def annualized_base_compensation_range @annualized_base_compensation_range end |
#annualized_total_compensation_range ⇒ Google::Apis::JobsV2::CompensationRange
Compensation range.
Corresponds to the JSON property annualizedTotalCompensationRange
617 618 619 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 617 def annualized_total_compensation_range @annualized_total_compensation_range end |
#entries ⇒ Array<Google::Apis::JobsV2::CompensationEntry>
Optional.
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
626 627 628 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 626 def entries @entries end |
#max ⇒ Google::Apis::JobsV2::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property max
631 632 633 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 631 def max @max end |
#min ⇒ Google::Apis::JobsV2::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property min
636 637 638 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 636 def min @min end |
#type ⇒ String
Deprecated. Use entries instead.
Optional.
Type of job compensation.
Corresponds to the JSON property type
643 644 645 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 643 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
650 651 652 653 654 655 656 657 658 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 650 def update!(**args) @amount = args[:amount] if args.key?(:amount) @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) @max = args[:max] if args.key?(:max) @min = args[:min] if args.key?(:min) @type = args[:type] if args.key?(:type) end |