Class: Google::Apis::JobsV3::CompensationRange

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

Overview

Compensation range.

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

Returns a new instance of CompensationRange



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

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

Instance Attribute Details

#max_compensationGoogle::Apis::JobsV3::Money

Represents an amount of money with its currency type. Corresponds to the JSON property maxCompensation



608
609
610
# File 'generated/google/apis/jobs_v3/classes.rb', line 608

def max_compensation
  @max_compensation
end

#min_compensationGoogle::Apis::JobsV3::Money

Represents an amount of money with its currency type. Corresponds to the JSON property minCompensation



613
614
615
# File 'generated/google/apis/jobs_v3/classes.rb', line 613

def min_compensation
  @min_compensation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



620
621
622
623
# File 'generated/google/apis/jobs_v3/classes.rb', line 620

def update!(**args)
  @max_compensation = args[:max_compensation] if args.key?(:max_compensation)
  @min_compensation = args[:min_compensation] if args.key?(:min_compensation)
end