Class: Google::Apis::CloudsearchV1::OtrModificationEvent
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::OtrModificationEvent
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#new_otr_status ⇒ String
Corresponds to the JSON property
newOtrStatus. -
#new_otr_toggle ⇒ String
Corresponds to the JSON property
newOtrToggle. -
#old_otr_status ⇒ String
Corresponds to the JSON property
oldOtrStatus. -
#old_otr_toggle ⇒ String
Corresponds to the JSON property
oldOtrToggle.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OtrModificationEvent
constructor
A new instance of OtrModificationEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OtrModificationEvent
Returns a new instance of OtrModificationEvent.
14415 14416 14417 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14415 def initialize(**args) update!(**args) end |
Instance Attribute Details
#new_otr_status ⇒ String
Corresponds to the JSON property newOtrStatus
14398 14399 14400 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14398 def new_otr_status @new_otr_status end |
#new_otr_toggle ⇒ String
Corresponds to the JSON property newOtrToggle
14403 14404 14405 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14403 def new_otr_toggle @new_otr_toggle end |
#old_otr_status ⇒ String
Corresponds to the JSON property oldOtrStatus
14408 14409 14410 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14408 def old_otr_status @old_otr_status end |
#old_otr_toggle ⇒ String
Corresponds to the JSON property oldOtrToggle
14413 14414 14415 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14413 def old_otr_toggle @old_otr_toggle end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14420 14421 14422 14423 14424 14425 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 14420 def update!(**args) @new_otr_status = args[:new_otr_status] if args.key?(:new_otr_status) @new_otr_toggle = args[:new_otr_toggle] if args.key?(:new_otr_toggle) @old_otr_status = args[:old_otr_status] if args.key?(:old_otr_status) @old_otr_toggle = args[:old_otr_toggle] if args.key?(:old_otr_toggle) end |