Class: Google::Apis::JobsV3p1beta1::CompensationRange

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

Overview

Compensation range.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CompensationRange

Returns a new instance of CompensationRange.



627
628
629
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 627

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

Instance Attribute Details

#max_compensationGoogle::Apis::JobsV3p1beta1::Money

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



620
621
622
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 620

def max_compensation
  @max_compensation
end

#min_compensationGoogle::Apis::JobsV3p1beta1::Money

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



625
626
627
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 625

def min_compensation
  @min_compensation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



632
633
634
635
# File 'lib/google/apis/jobs_v3p1beta1/classes.rb', line 632

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