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



675
676
677
# File 'generated/google/apis/jobs_v2/classes.rb', line 675

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



668
669
670
# File 'generated/google/apis/jobs_v2/classes.rb', line 668

def max
  @max
end

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