Module: SchemaOrg::Mixins::QuantitativeValueDistribution
- Includes:
- StructuredValue
- Included in:
- MonetaryAmountDistribution, QuantitativeValueDistribution
- Defined in:
- lib/schema_org/mixins/quantitative_value_distribution.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#duration ⇒ Object
The duration of the item (movie, audio recording, event, etc.) in ISO 8601 duration format.
-
#duration=(value) ⇒ Object
The duration of the item (movie, audio recording, event, etc.) in ISO 8601 duration format.
-
#median ⇒ Object
The median value.
-
#median=(value) ⇒ Object
The median value.
-
#percentile10 ⇒ Object
The 10th percentile value.
-
#percentile10=(value) ⇒ Object
The 10th percentile value.
-
#percentile25 ⇒ Object
The 25th percentile value.
-
#percentile25=(value) ⇒ Object
The 25th percentile value.
-
#percentile75 ⇒ Object
The 75th percentile value.
-
#percentile75=(value) ⇒ Object
The 75th percentile value.
-
#percentile90 ⇒ Object
The 90th percentile value.
-
#percentile90=(value) ⇒ Object
The 90th percentile value.
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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/schema_org/mixins/quantitative_value_distribution.rb', line 11 def self.schema_property_definitions { duration: { schema_name: "duration", schema_url: "https://schema.org/duration", comment_lines: ["The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601)."].freeze, ranges: ["Duration", "QuantitativeValue"].freeze, external_ranges: [].freeze, inverse_of: nil, superseded_by: nil, supersedes: nil }.freeze, median: { schema_name: "median", schema_url: "https://schema.org/median", comment_lines: ["The median value."].freeze, ranges: ["Number"].freeze, external_ranges: [].freeze, inverse_of: nil, superseded_by: nil, supersedes: nil }.freeze, percentile10: { schema_name: "percentile10", schema_url: "https://schema.org/percentile10", comment_lines: ["The 10th percentile value."].freeze, ranges: ["Number"].freeze, external_ranges: [].freeze, inverse_of: nil, superseded_by: nil, supersedes: nil }.freeze, percentile25: { schema_name: "percentile25", schema_url: "https://schema.org/percentile25", comment_lines: ["The 25th percentile value."].freeze, ranges: ["Number"].freeze, external_ranges: [].freeze, inverse_of: nil, superseded_by: nil, supersedes: nil }.freeze, percentile75: { schema_name: "percentile75", schema_url: "https://schema.org/percentile75", comment_lines: ["The 75th percentile value."].freeze, ranges: ["Number"].freeze, external_ranges: [].freeze, inverse_of: nil, superseded_by: nil, supersedes: nil }.freeze, percentile90: { schema_name: "percentile90", schema_url: "https://schema.org/percentile90", comment_lines: ["The 90th percentile value."].freeze, ranges: ["Number"].freeze, external_ranges: [].freeze, inverse_of: nil, superseded_by: nil, supersedes: nil }.freeze }.freeze end |
Instance Method Details
#duration ⇒ Object
The duration of the item (movie, audio recording, event, etc.) in ISO 8601 duration format.
77 78 79 |
# File 'lib/schema_org/mixins/quantitative_value_distribution.rb', line 77 def duration read_property(:duration) end |
#duration=(value) ⇒ Object
The duration of the item (movie, audio recording, event, etc.) in ISO 8601 duration format.
82 83 84 |
# File 'lib/schema_org/mixins/quantitative_value_distribution.rb', line 82 def duration=(value) write_property(:duration, value) end |
#median ⇒ Object
The median value.
87 88 89 |
# File 'lib/schema_org/mixins/quantitative_value_distribution.rb', line 87 def median read_property(:median) end |
#median=(value) ⇒ Object
The median value.
92 93 94 |
# File 'lib/schema_org/mixins/quantitative_value_distribution.rb', line 92 def median=(value) write_property(:median, value) end |
#percentile10 ⇒ Object
The 10th percentile value.
97 98 99 |
# File 'lib/schema_org/mixins/quantitative_value_distribution.rb', line 97 def percentile10 read_property(:percentile10) end |
#percentile10=(value) ⇒ Object
The 10th percentile value.
102 103 104 |
# File 'lib/schema_org/mixins/quantitative_value_distribution.rb', line 102 def percentile10=(value) write_property(:percentile10, value) end |
#percentile25 ⇒ Object
The 25th percentile value.
107 108 109 |
# File 'lib/schema_org/mixins/quantitative_value_distribution.rb', line 107 def percentile25 read_property(:percentile25) end |
#percentile25=(value) ⇒ Object
The 25th percentile value.
112 113 114 |
# File 'lib/schema_org/mixins/quantitative_value_distribution.rb', line 112 def percentile25=(value) write_property(:percentile25, value) end |
#percentile75 ⇒ Object
The 75th percentile value.
117 118 119 |
# File 'lib/schema_org/mixins/quantitative_value_distribution.rb', line 117 def percentile75 read_property(:percentile75) end |
#percentile75=(value) ⇒ Object
The 75th percentile value.
122 123 124 |
# File 'lib/schema_org/mixins/quantitative_value_distribution.rb', line 122 def percentile75=(value) write_property(:percentile75, value) end |
#percentile90 ⇒ Object
The 90th percentile value.
127 128 129 |
# File 'lib/schema_org/mixins/quantitative_value_distribution.rb', line 127 def percentile90 read_property(:percentile90) end |
#percentile90=(value) ⇒ Object
The 90th percentile value.
132 133 134 |
# File 'lib/schema_org/mixins/quantitative_value_distribution.rb', line 132 def percentile90=(value) write_property(:percentile90, value) end |