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.
1211 1212 1213 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1211 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
1175 1176 1177 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1175 def amount @amount end |
#description ⇒ String
Optional. Compensation description.
Corresponds to the JSON property description
1180 1181 1182 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1180 def description @description end |
#expected_units_per_year ⇒ Google::Apis::JobsV2::ExtendedCompensationInfoDecimal
Deprecated. See CompensationInfo.
Decimal number.
Corresponds to the JSON property expectedUnitsPerYear
1186 1187 1188 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1186 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
1192 1193 1194 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1192 def range @range end |
#type ⇒ String
Required. Compensation type.
Corresponds to the JSON property type
1197 1198 1199 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1197 def type @type end |
#unit ⇒ String
Optional. Frequency of the specified amount.
Default is CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED.
Corresponds to the JSON property unit
1203 1204 1205 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1203 def unit @unit end |
#unspecified ⇒ Boolean Also known as: unspecified?
Optional. Indicates compensation amount and range are unset.
Corresponds to the JSON property unspecified
1208 1209 1210 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1208 def unspecified @unspecified end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1216 1217 1218 1219 1220 1221 1222 1223 1224 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1216 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 |