Class: OpenActive::Models::Concept
Overview
This type is derived from [Concept](www.w3.org/2004/02/skos/core#Concept), which means that any of this type’s properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.
Instance Attribute Summary collapse
Attributes inherited from JsonLdModel
#context, #id
Method Summary
Methods inherited from BaseModel
#assign_attributes, define_property, deserialize, #deserialize, deserialize_class, #initialize, #serialize, serialize, #set_property, #to_json
#check_types, included
included, #to_h, #values
Instance Attribute Details
#alt_label ⇒ Array<String>
12
13
14
|
# File 'lib/openactive/models/concept.rb', line 12
def alt_label
@alt_label
end
|
#broader ⇒ Array<URI>
17
18
19
|
# File 'lib/openactive/models/concept.rb', line 17
def broader
@broader
end
|
#in_scheme ⇒ URI
22
23
24
|
# File 'lib/openactive/models/concept.rb', line 22
def in_scheme
@in_scheme
end
|
#narrower ⇒ Array<URI>
27
28
29
|
# File 'lib/openactive/models/concept.rb', line 27
def narrower
@narrower
end
|
#notation ⇒ String
32
33
34
|
# File 'lib/openactive/models/concept.rb', line 32
def notation
@notation
end
|
#pref_label ⇒ String
37
38
39
|
# File 'lib/openactive/models/concept.rb', line 37
def pref_label
@pref_label
end
|
#type ⇒ String
7
8
9
|
# File 'lib/openactive/models/concept.rb', line 7
def type
"Concept"
end
|