Class: Google::Apis::JobsV3::CompensationInfo

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

Overview

Job compensation details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CompensationInfo

Returns a new instance of CompensationInfo.



601
602
603
# File 'lib/google/apis/jobs_v3/classes.rb', line 601

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

Instance Attribute Details

#annualized_base_compensation_rangeGoogle::Apis::JobsV3::CompensationRange

Compensation range. Corresponds to the JSON property annualizedBaseCompensationRange



587
588
589
# File 'lib/google/apis/jobs_v3/classes.rb', line 587

def annualized_base_compensation_range
  @annualized_base_compensation_range
end

#annualized_total_compensation_rangeGoogle::Apis::JobsV3::CompensationRange

Compensation range. Corresponds to the JSON property annualizedTotalCompensationRange



592
593
594
# File 'lib/google/apis/jobs_v3/classes.rb', line 592

def annualized_total_compensation_range
  @annualized_total_compensation_range
end

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



599
600
601
# File 'lib/google/apis/jobs_v3/classes.rb', line 599

def entries
  @entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



606
607
608
609
610
# File 'lib/google/apis/jobs_v3/classes.rb', line 606

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