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.



15067
15068
15069
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15067

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

Instance Attribute Details

#new_otr_statusString

Corresponds to the JSON property newOtrStatus

Returns:

  • (String)


15050
15051
15052
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15050

def new_otr_status
  @new_otr_status
end

#new_otr_toggleString

Corresponds to the JSON property newOtrToggle

Returns:

  • (String)


15055
15056
15057
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15055

def new_otr_toggle
  @new_otr_toggle
end

#old_otr_statusString

Corresponds to the JSON property oldOtrStatus

Returns:

  • (String)


15060
15061
15062
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15060

def old_otr_status
  @old_otr_status
end

#old_otr_toggleString

Corresponds to the JSON property oldOtrToggle

Returns:

  • (String)


15065
15066
15067
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15065

def old_otr_toggle
  @old_otr_toggle
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15072
15073
15074
15075
15076
15077
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 15072

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