Class: Google::Apis::SlidesV1::DuplicateObjectResponse

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

Overview

The response of duplicating an object.

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

Returns a new instance of DuplicateObjectResponse



1120
1121
1122
# File 'generated/google/apis/slides_v1/classes.rb', line 1120

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

Instance Attribute Details

#object_id_propString

The ID of the new duplicate object. Corresponds to the JSON property objectId

Returns:

  • (String)


1118
1119
1120
# File 'generated/google/apis/slides_v1/classes.rb', line 1118

def object_id_prop
  @object_id_prop
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1125
1126
1127
# File 'generated/google/apis/slides_v1/classes.rb', line 1125

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