Class: Google::Apis::JobsV2::ExtendedCompensationInfoDecimal
- Inherits:
-
Object
- Object
- Google::Apis::JobsV2::ExtendedCompensationInfoDecimal
- 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
Deprecated. See CompensationInfo. Decimal number.
Instance Attribute Summary collapse
-
#micros ⇒ Fixnum
Micro (10^-6) units.
-
#units ⇒ Fixnum
Whole units.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExtendedCompensationInfoDecimal
constructor
A new instance of ExtendedCompensationInfoDecimal.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ExtendedCompensationInfoDecimal
Returns a new instance of ExtendedCompensationInfoDecimal.
1275 1276 1277 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1275 def initialize(**args) update!(**args) end |
Instance Attribute Details
#micros ⇒ Fixnum
Micro (10^-6) units.
The value must be between -999,999 and +999,999 inclusive.
If units
is positive, micros
must be positive or zero.
If units
is zero, micros
can be positive, zero, or negative.
If units
is negative, micros
must be negative or zero.
For example -1.75 is represented as units
=-1 and micros
=-750,000.
Corresponds to the JSON property micros
1268 1269 1270 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1268 def micros @micros end |
#units ⇒ Fixnum
Whole units.
Corresponds to the JSON property units
1273 1274 1275 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1273 def units @units end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1280 1281 1282 1283 |
# File 'generated/google/apis/jobs_v2/classes.rb', line 1280 def update!(**args) @micros = args[:micros] if args.key?(:micros) @units = args[:units] if args.key?(:units) end |