Class: Google::Apis::JobsV2::CompensationRange
- Inherits:
-
Object
- Object
- Google::Apis::JobsV2::CompensationRange
- 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
Compensation range.
Instance Attribute Summary collapse
-
#max ⇒ Google::Apis::JobsV2::Money
Represents an amount of money with its currency type.
-
#min ⇒ Google::Apis::JobsV2::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
675 676 677 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 675 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max ⇒ Google::Apis::JobsV2::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property max
668 669 670 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 668 def max @max end |
#min ⇒ Google::Apis::JobsV2::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property min
673 674 675 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 673 def min @min end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
680 681 682 683 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 680 def update!(**args) @max = args[:max] if args.key?(:max) @min = args[:min] if args.key?(:min) end |