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.


1062
1063
1064
# File 'generated/google/apis/slides_v1/classes.rb', line 1062

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)

1060
1061
1062
# File 'generated/google/apis/slides_v1/classes.rb', line 1060

def object_id_prop
  @object_id_prop
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1067
1068
1069
# File 'generated/google/apis/slides_v1/classes.rb', line 1067

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