Class: Google::Apis::CloudsearchV1::OtrModificationEvent

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OtrModificationEvent

Returns a new instance of OtrModificationEvent.



12329
12330
12331
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12329

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

Instance Attribute Details

#new_otr_statusString

Corresponds to the JSON property newOtrStatus

Returns:

  • (String)


12312
12313
12314
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12312

def new_otr_status
  @new_otr_status
end

#new_otr_toggleString

Corresponds to the JSON property newOtrToggle

Returns:

  • (String)


12317
12318
12319
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12317

def new_otr_toggle
  @new_otr_toggle
end

#old_otr_statusString

Corresponds to the JSON property oldOtrStatus

Returns:

  • (String)


12322
12323
12324
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12322

def old_otr_status
  @old_otr_status
end

#old_otr_toggleString

Corresponds to the JSON property oldOtrToggle

Returns:

  • (String)


12327
12328
12329
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12327

def old_otr_toggle
  @old_otr_toggle
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12334
12335
12336
12337
12338
12339
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12334

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