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
1247 1248 1249 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1247 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
1207 1208 1209 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1207 def amount @amount end |
#description ⇒ String
Optional.
Compensation description.
Corresponds to the JSON property description
1213 1214 1215 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1213 def description @description end |
#expected_units_per_year ⇒ Google::Apis::JobsV2::ExtendedCompensationInfoDecimal
Deprecated. See CompensationInfo.
Decimal number.
Corresponds to the JSON property expectedUnitsPerYear
1219 1220 1221 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1219 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
1225 1226 1227 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1225 def range @range end |
#type ⇒ String
Required.
Compensation type.
Corresponds to the JSON property type
1231 1232 1233 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1231 def type @type end |
#unit ⇒ String
Optional.
Frequency of the specified amount.
Default is CompensationUnit.OTHER_COMPENSATION_UNIT.
Corresponds to the JSON property unit
1238 1239 1240 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1238 def unit @unit end |
#unspecified ⇒ Boolean Also known as: unspecified?
Optional.
Indicates compensation amount and range are unset.
Corresponds to the JSON property unspecified
1244 1245 1246 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1244 def unspecified @unspecified end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1252 1253 1254 1255 1256 1257 1258 1259 1260 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1252 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 |