Class: Google::Apis::JobsV3p1beta1::CompensationInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/jobs_v3p1beta1/classes.rb,
generated/google/apis/jobs_v3p1beta1/representations.rb,
generated/google/apis/jobs_v3p1beta1/representations.rb

Overview

Job compensation details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CompensationInfo

Returns a new instance of CompensationInfo



661
662
663
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 661

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#annualized_base_compensation_rangeGoogle::Apis::JobsV3p1beta1::CompensationRange

Compensation range. Corresponds to the JSON property annualizedBaseCompensationRange



645
646
647
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 645

def annualized_base_compensation_range
  @annualized_base_compensation_range
end

#annualized_total_compensation_rangeGoogle::Apis::JobsV3p1beta1::CompensationRange

Compensation range. Corresponds to the JSON property annualizedTotalCompensationRange



650
651
652
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 650

def annualized_total_compensation_range
  @annualized_total_compensation_range
end

#entriesArray<Google::Apis::JobsV3p1beta1::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



659
660
661
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 659

def entries
  @entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



666
667
668
669
670
# File 'generated/google/apis/jobs_v3p1beta1/classes.rb', line 666

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