Class: Google::Apis::AppsactivityV1::Rename

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/appsactivity_v1/classes.rb,
generated/google/apis/appsactivity_v1/representations.rb,
generated/google/apis/appsactivity_v1/representations.rb

Overview

Contains information about a renametype event.

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) ⇒ Rename

Returns a new instance of Rename



322
323
324
# File 'generated/google/apis/appsactivity_v1/classes.rb', line 322

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

Instance Attribute Details

#new_titleString

The new title. Corresponds to the JSON property newTitle

Returns:

  • (String)


315
316
317
# File 'generated/google/apis/appsactivity_v1/classes.rb', line 315

def new_title
  @new_title
end

#old_titleString

The old title. Corresponds to the JSON property oldTitle

Returns:

  • (String)


320
321
322
# File 'generated/google/apis/appsactivity_v1/classes.rb', line 320

def old_title
  @old_title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



327
328
329
330
# File 'generated/google/apis/appsactivity_v1/classes.rb', line 327

def update!(**args)
  @new_title = args[:new_title] if args.key?(:new_title)
  @old_title = args[:old_title] if args.key?(:old_title)
end