Module: SchemaOrg::Mixins::UpdateAction
- Includes:
- Action
- Included in:
- AddAction, DeleteAction, ReplaceAction, UpdateAction
- Defined in:
- lib/schema_org/mixins/update_action.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#collection ⇒ Object
A sub property of object.
-
#collection=(value) ⇒ Object
A sub property of object.
-
#target_collection ⇒ Object
A sub property of object.
-
#target_collection=(value) ⇒ Object
A sub property of object.
Methods included from Action
#action_process, #action_process=, #action_status, #action_status=, #agent, #agent=, #end_time, #end_time=, #error, #error=, #instrument, #instrument=, #location, #location=, #object, #object=, #participant, #participant=, #provider, #provider=, #result, #result=, #start_time, #start_time=, #target, #target=
Methods included from Thing
#additional_type, #additional_type=, #alternate_name, #alternate_name=, #description, #description=, #disambiguating_description, #disambiguating_description=, #identifier, #identifier=, #image, #image=, #main_entity_of_page, #main_entity_of_page=, #name, #name=, #owner, #owner=, #potential_action, #potential_action=, #same_as, #same_as=, #subject_of, #subject_of=, #url, #url=
Class Method Details
.schema_property_definitions ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/schema_org/mixins/update_action.rb', line 11 def self.schema_property_definitions { collection: { schema_name: "collection", schema_url: "https://schema.org/collection", comment_lines: ["A sub property of object. The collection target of the action."].freeze, ranges: ["Thing"].freeze, external_ranges: [].freeze, inverse_of: nil, superseded_by: "targetCollection", supersedes: nil }.freeze, target_collection: { schema_name: "targetCollection", schema_url: "https://schema.org/targetCollection", comment_lines: ["A sub property of object. The collection target of the action."].freeze, ranges: ["Thing"].freeze, external_ranges: [].freeze, inverse_of: nil, superseded_by: nil, supersedes: ["collection"].freeze }.freeze }.freeze end |
Instance Method Details
#collection ⇒ Object
A sub property of object. The collection target of the action.
Superseded by targetCollection.
38 39 40 |
# File 'lib/schema_org/mixins/update_action.rb', line 38 def collection read_property(:collection) end |
#collection=(value) ⇒ Object
A sub property of object. The collection target of the action.
Superseded by targetCollection.
44 45 46 |
# File 'lib/schema_org/mixins/update_action.rb', line 44 def collection=(value) write_property(:collection, value) end |
#target_collection ⇒ Object
A sub property of object. The collection target of the action.
Supersedes collection.
50 51 52 |
# File 'lib/schema_org/mixins/update_action.rb', line 50 def target_collection read_property(:target_collection) end |
#target_collection=(value) ⇒ Object
A sub property of object. The collection target of the action.
Supersedes collection.
56 57 58 |
# File 'lib/schema_org/mixins/update_action.rb', line 56 def target_collection=(value) write_property(:target_collection, value) end |