Class: Google::Apis::JobsV3::CompensationRange
- Inherits:
-
Object
- Object
- Google::Apis::JobsV3::CompensationRange
- 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
-
#max_compensation ⇒ Google::Apis::JobsV3::Money
Represents an amount of money with its currency type.
-
#min_compensation ⇒ Google::Apis::JobsV3::Money
Represents an amount of money with its currency type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CompensationRange
constructor
A new instance of CompensationRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CompensationRange
Returns a new instance of CompensationRange
687 688 689 |
# File 'generated/google/apis/jobs_v3/classes.rb', line 687 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_compensation ⇒ Google::Apis::JobsV3::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property maxCompensation
680 681 682 |
# File 'generated/google/apis/jobs_v3/classes.rb', line 680 def max_compensation @max_compensation end |
#min_compensation ⇒ Google::Apis::JobsV3::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property minCompensation
685 686 687 |
# File 'generated/google/apis/jobs_v3/classes.rb', line 685 def min_compensation @min_compensation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
692 693 694 695 |
# File 'generated/google/apis/jobs_v3/classes.rb', line 692 def update!(**args) @max_compensation = args[:max_compensation] if args.key?(:max_compensation) @min_compensation = args[:min_compensation] if args.key?(:min_compensation) end |