Class: Google::Apis::FormsV1::MoveItemRequest
- Inherits:
-
Object
- Object
- Google::Apis::FormsV1::MoveItemRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/forms_v1/classes.rb,
lib/google/apis/forms_v1/representations.rb,
lib/google/apis/forms_v1/representations.rb
Overview
Move an item in a form.
Instance Attribute Summary collapse
-
#new_location ⇒ Google::Apis::FormsV1::Location
A specific location in a form.
-
#original_location ⇒ Google::Apis::FormsV1::Location
A specific location in a form.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MoveItemRequest
constructor
A new instance of MoveItemRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MoveItemRequest
Returns a new instance of MoveItemRequest.
1043 1044 1045 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1043 def initialize(**args) update!(**args) end |
Instance Attribute Details
#new_location ⇒ Google::Apis::FormsV1::Location
A specific location in a form.
Corresponds to the JSON property newLocation
1036 1037 1038 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1036 def new_location @new_location end |
#original_location ⇒ Google::Apis::FormsV1::Location
A specific location in a form.
Corresponds to the JSON property originalLocation
1041 1042 1043 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1041 def original_location @original_location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1048 1049 1050 1051 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1048 def update!(**args) @new_location = args[:new_location] if args.key?(:new_location) @original_location = args[:original_location] if args.key?(:original_location) end |