Class: Google::Apis::JobsV2::ExtendedCompensationFilter

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. Always use CompensationFilter. Input only. Filter on job compensation type and amount.

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) ⇒ ExtendedCompensationFilter

Returns a new instance of ExtendedCompensationFilter



1097
1098
1099
# File 'generated/google/apis/jobs_v2/classes.rb', line 1097

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#compensation_rangeGoogle::Apis::JobsV2::ExtendedCompensationInfoCompensationRange

Deprecated. See CompensationInfo. Compensation range. Corresponds to the JSON property compensationRange



1067
1068
1069
# File 'generated/google/apis/jobs_v2/classes.rb', line 1067

def compensation_range
  @compensation_range
end

#compensation_unitsArray<String>

Required. Specify desired ** base compensation entry's ** ExtendedCompensationInfo.CompensationUnit. Corresponds to the JSON property compensationUnits

Returns:

  • (Array<String>)


1074
1075
1076
# File 'generated/google/apis/jobs_v2/classes.rb', line 1074

def compensation_units
  @compensation_units
end

#currencyString

Optional. Specify currency in 3-letter ISO 4217 format. If unspecified, jobs are returned regardless of currency. Corresponds to the JSON property currency

Returns:

  • (String)


1082
1083
1084
# File 'generated/google/apis/jobs_v2/classes.rb', line 1082

def currency
  @currency
end

#include_job_with_unspecified_compensation_rangeBoolean Also known as: include_job_with_unspecified_compensation_range?

Optional. Whether to include jobs whose compensation range is unspecified. Corresponds to the JSON property includeJobWithUnspecifiedCompensationRange

Returns:

  • (Boolean)


1088
1089
1090
# File 'generated/google/apis/jobs_v2/classes.rb', line 1088

def include_job_with_unspecified_compensation_range
  @include_job_with_unspecified_compensation_range
end

#typeString

Required. Type of filter. Corresponds to the JSON property type

Returns:

  • (String)


1095
1096
1097
# File 'generated/google/apis/jobs_v2/classes.rb', line 1095

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1102
1103
1104
1105
1106
1107
1108
# File 'generated/google/apis/jobs_v2/classes.rb', line 1102

def update!(**args)
  @compensation_range = args[:compensation_range] if args.key?(:compensation_range)
  @compensation_units = args[:compensation_units] if args.key?(:compensation_units)
  @currency = args[:currency] if args.key?(:currency)
  @include_job_with_unspecified_compensation_range = args[:include_job_with_unspecified_compensation_range] if args.key?(:include_job_with_unspecified_compensation_range)
  @type = args[:type] if args.key?(:type)
end