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.
1042 1043 1044 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1042 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
1035 1036 1037 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1035 def new_location @new_location end |
#original_location ⇒ Google::Apis::FormsV1::Location
A specific location in a form.
Corresponds to the JSON property originalLocation
1040 1041 1042 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1040 def original_location @original_location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1047 1048 1049 1050 |
# File 'lib/google/apis/forms_v1/classes.rb', line 1047 def update!(**args) @new_location = args[:new_location] if args.key?(:new_location) @original_location = args[:original_location] if args.key?(:original_location) end |