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



1177
1178
1179
# File 'generated/google/apis/jobs_v2/classes.rb', line 1177

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



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

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)


1142
1143
1144
# File 'generated/google/apis/jobs_v2/classes.rb', line 1142

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



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

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)


1158
1159
1160
# File 'generated/google/apis/jobs_v2/classes.rb', line 1158

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)


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

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



1175
1176
1177
# File 'generated/google/apis/jobs_v2/classes.rb', line 1175

def entries
  @entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1182
1183
1184
1185
1186
1187
1188
1189
# File 'generated/google/apis/jobs_v2/classes.rb', line 1182

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