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.
649 650 651 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 649 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
642 643 644 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 642 def max @max end |
#min ⇒ Google::Apis::JobsV2::Money
Represents an amount of money with its currency type.
Corresponds to the JSON property min
647 648 649 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 647 def min @min end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
654 655 656 657 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 654 def update!(**args) @max = args[:max] if args.key?(:max) @min = args[:min] if args.key?(:min) end |