Class: Google::Apis::JobsV2::CompensationRange

Inherits:
Object
  • Object
show all
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

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.


649
650
651
# File 'generated/google/apis/jobs_v2/classes.rb', line 649

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

Instance Attribute Details

#maxGoogle::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

#minGoogle::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