Class: Google::Apis::AppsactivityV1::Rename
- Inherits:
-
Object
- Object
- Google::Apis::AppsactivityV1::Rename
- 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
-
#new_title ⇒ String
The new title.
-
#old_title ⇒ String
The old title.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Rename
constructor
A new instance of Rename.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_title ⇒ String
The new title.
Corresponds to the JSON property newTitle
315 316 317 |
# File 'generated/google/apis/appsactivity_v1/classes.rb', line 315 def new_title @new_title end |
#old_title ⇒ String
The old title.
Corresponds to the JSON property oldTitle
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 |