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



1167
1168
1169
# File 'generated/google/apis/jobs_v2/classes.rb', line 1167

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



1123
1124
1125
# File 'generated/google/apis/jobs_v2/classes.rb', line 1123

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)


1132
1133
1134
# File 'generated/google/apis/jobs_v2/classes.rb', line 1132

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



1139
1140
1141
# File 'generated/google/apis/jobs_v2/classes.rb', line 1139

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)


1148
1149
1150
# File 'generated/google/apis/jobs_v2/classes.rb', line 1148

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)


1156
1157
1158
# File 'generated/google/apis/jobs_v2/classes.rb', line 1156

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



1165
1166
1167
# File 'generated/google/apis/jobs_v2/classes.rb', line 1165

def entries
  @entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1172
1173
1174
1175
1176
1177
1178
1179
# File 'generated/google/apis/jobs_v2/classes.rb', line 1172

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