Class: Google::Apis::JobsV4::CompensationFilter

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/jobs_v4/classes.rb,
generated/google/apis/jobs_v4/representations.rb,
generated/google/apis/jobs_v4/representations.rb

Overview

Filter on job compensation type and amount.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CompensationFilter

Returns a new instance of CompensationFilter.



617
618
619
# File 'generated/google/apis/jobs_v4/classes.rb', line 617

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

Instance Attribute Details

#include_jobs_with_unspecified_compensation_rangeBoolean Also known as: include_jobs_with_unspecified_compensation_range?

If set to true, jobs with unspecified compensation range fields are included. Corresponds to the JSON property includeJobsWithUnspecifiedCompensationRange

Returns:

  • (Boolean)


598
599
600
# File 'generated/google/apis/jobs_v4/classes.rb', line 598

def include_jobs_with_unspecified_compensation_range
  @include_jobs_with_unspecified_compensation_range
end

#rangeGoogle::Apis::JobsV4::CompensationRange

Compensation range. Corresponds to the JSON property range



604
605
606
# File 'generated/google/apis/jobs_v4/classes.rb', line 604

def range
  @range
end

#typeString

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

Returns:

  • (String)


609
610
611
# File 'generated/google/apis/jobs_v4/classes.rb', line 609

def type
  @type
end

#unitsArray<String>

Required. Specify desired base compensation entry's CompensationInfo. CompensationUnit. Corresponds to the JSON property units

Returns:

  • (Array<String>)


615
616
617
# File 'generated/google/apis/jobs_v4/classes.rb', line 615

def units
  @units
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



622
623
624
625
626
627
# File 'generated/google/apis/jobs_v4/classes.rb', line 622

def update!(**args)
  @include_jobs_with_unspecified_compensation_range = args[:include_jobs_with_unspecified_compensation_range] if args.key?(:include_jobs_with_unspecified_compensation_range)
  @range = args[:range] if args.key?(:range)
  @type = args[:type] if args.key?(:type)
  @units = args[:units] if args.key?(:units)
end