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



1182
1183
1184
# File 'generated/google/apis/jobs_v2/classes.rb', line 1182

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



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

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)


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

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



1154
1155
1156
# File 'generated/google/apis/jobs_v2/classes.rb', line 1154

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)


1163
1164
1165
# File 'generated/google/apis/jobs_v2/classes.rb', line 1163

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)


1171
1172
1173
# File 'generated/google/apis/jobs_v2/classes.rb', line 1171

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



1180
1181
1182
# File 'generated/google/apis/jobs_v2/classes.rb', line 1180

def entries
  @entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1187
1188
1189
1190
1191
1192
1193
1194
# File 'generated/google/apis/jobs_v2/classes.rb', line 1187

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