Class: Google::Apis::JobsV2::ExtendedCompensationInfo

Inherits:
Object
  • Object
show all
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

Deprecated. Use CompensationInfo. Describes job compensation.

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) ⇒ ExtendedCompensationInfo

Returns a new instance of ExtendedCompensationInfo.



1145
1146
1147
# File 'generated/google/apis/jobs_v2/classes.rb', line 1145

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

Instance Attribute Details

#annualized_base_compensation_rangeGoogle::Apis::JobsV2::ExtendedCompensationInfoCompensationRange

Deprecated. See CompensationInfo. Compensation range. Corresponds to the JSON property annualizedBaseCompensationRange



1102
1103
1104
# File 'generated/google/apis/jobs_v2/classes.rb', line 1102

def annualized_base_compensation_range
  @annualized_base_compensation_range
end

#annualized_base_compensation_unspecifiedBoolean Also known as: annualized_base_compensation_unspecified?

Output only. Indicates annualized base compensation range cannot be derived, due to the job's base compensation entry cannot be annualized. See CompensationEntry for explanation on annualization and base compensation entry. Corresponds to the JSON property annualizedBaseCompensationUnspecified

Returns:

  • (Boolean)


1111
1112
1113
# File 'generated/google/apis/jobs_v2/classes.rb', line 1111

def annualized_base_compensation_unspecified
  @annualized_base_compensation_unspecified
end

#annualized_total_compensation_rangeGoogle::Apis::JobsV2::ExtendedCompensationInfoCompensationRange

Deprecated. See CompensationInfo. Compensation range. Corresponds to the JSON property annualizedTotalCompensationRange



1118
1119
1120
# File 'generated/google/apis/jobs_v2/classes.rb', line 1118

def annualized_total_compensation_range
  @annualized_total_compensation_range
end

#annualized_total_compensation_unspecifiedBoolean Also known as: annualized_total_compensation_unspecified?

Output only. Indicates annualized total compensation range cannot be derived, due to the job's all CompensationEntry cannot be annualized. See CompensationEntry for explanation on annualization and base compensation entry. Corresponds to the JSON property annualizedTotalCompensationUnspecified

Returns:

  • (Boolean)


1127
1128
1129
# File 'generated/google/apis/jobs_v2/classes.rb', line 1127

def annualized_total_compensation_unspecified
  @annualized_total_compensation_unspecified
end

#currencyString

Optional. A 3-letter ISO 4217 currency code. Corresponds to the JSON property currency

Returns:

  • (String)


1135
1136
1137
# File 'generated/google/apis/jobs_v2/classes.rb', line 1135

def currency
  @currency
end

#entriesArray<Google::Apis::JobsV2::ExtendedCompensationInfoCompensationEntry>

Optional. Job compensation information. At most one entry can be of type ExtendedCompensationInfo.CompensationType.BASE, which is referred as ** base compensation entry ** for the job. Corresponds to the JSON property entries



1143
1144
1145
# File 'generated/google/apis/jobs_v2/classes.rb', line 1143

def entries
  @entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1150
1151
1152
1153
1154
1155
1156
1157
# File 'generated/google/apis/jobs_v2/classes.rb', line 1150

def update!(**args)
  @annualized_base_compensation_range = args[:annualized_base_compensation_range] if args.key?(:annualized_base_compensation_range)
  @annualized_base_compensation_unspecified = args[:annualized_base_compensation_unspecified] if args.key?(:annualized_base_compensation_unspecified)
  @annualized_total_compensation_range = args[:annualized_total_compensation_range] if args.key?(:annualized_total_compensation_range)
  @annualized_total_compensation_unspecified = args[:annualized_total_compensation_unspecified] if args.key?(:annualized_total_compensation_unspecified)
  @currency = args[:currency] if args.key?(:currency)
  @entries = args[:entries] if args.key?(:entries)
end