Class: Google::Apis::JobsV2::ExtendedCompensationInfoCompensationEntry
- Inherits:
-
Object
- Object
- Google::Apis::JobsV2::ExtendedCompensationInfoCompensationEntry
- 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. See CompensationInfo. A compensation entry that represents one component of compensation, such as base pay, bonus, or other compensation type. Annualization: One compensation entry can be annualized if
- it contains valid amount or range.
- and its expected_units_per_year is set or can be derived. Its annualized range is determined as (amount or range) times expected_units_per_year.
Instance Attribute Summary collapse
-
#amount ⇒ Google::Apis::JobsV2::ExtendedCompensationInfoDecimal
Deprecated.
-
#description ⇒ String
Optional.
-
#expected_units_per_year ⇒ Google::Apis::JobsV2::ExtendedCompensationInfoDecimal
Deprecated.
-
#range ⇒ Google::Apis::JobsV2::ExtendedCompensationInfoCompensationRange
Deprecated.
-
#type ⇒ String
Required.
-
#unit ⇒ String
Optional.
-
#unspecified ⇒ Boolean
(also: #unspecified?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExtendedCompensationInfoCompensationEntry
constructor
A new instance of ExtendedCompensationInfoCompensationEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ExtendedCompensationInfoCompensationEntry
Returns a new instance of ExtendedCompensationInfoCompensationEntry
1252 1253 1254 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1252 def initialize(**args) update!(**args) end |
Instance Attribute Details
#amount ⇒ Google::Apis::JobsV2::ExtendedCompensationInfoDecimal
Deprecated. See CompensationInfo.
Decimal number.
Corresponds to the JSON property amount
1212 1213 1214 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1212 def amount @amount end |
#description ⇒ String
Optional.
Compensation description.
Corresponds to the JSON property description
1218 1219 1220 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1218 def description @description end |
#expected_units_per_year ⇒ Google::Apis::JobsV2::ExtendedCompensationInfoDecimal
Deprecated. See CompensationInfo.
Decimal number.
Corresponds to the JSON property expectedUnitsPerYear
1224 1225 1226 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1224 def expected_units_per_year @expected_units_per_year end |
#range ⇒ Google::Apis::JobsV2::ExtendedCompensationInfoCompensationRange
Deprecated. See CompensationInfo.
Compensation range.
Corresponds to the JSON property range
1230 1231 1232 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1230 def range @range end |
#type ⇒ String
Required.
Compensation type.
Corresponds to the JSON property type
1236 1237 1238 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1236 def type @type end |
#unit ⇒ String
Optional.
Frequency of the specified amount.
Default is CompensationUnit.OTHER_COMPENSATION_UNIT.
Corresponds to the JSON property unit
1243 1244 1245 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1243 def unit @unit end |
#unspecified ⇒ Boolean Also known as: unspecified?
Optional.
Indicates compensation amount and range are unset.
Corresponds to the JSON property unspecified
1249 1250 1251 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1249 def unspecified @unspecified end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1257 1258 1259 1260 1261 1262 1263 1264 1265 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1257 def update!(**args) @amount = args[:amount] if args.key?(:amount) @description = args[:description] if args.key?(:description) @expected_units_per_year = args[:expected_units_per_year] if args.key?(:expected_units_per_year) @range = args[:range] if args.key?(:range) @type = args[:type] if args.key?(:type) @unit = args[:unit] if args.key?(:unit) @unspecified = args[:unspecified] if args.key?(:unspecified) end |