Class: OpenActive::Models::ConceptScheme

Inherits:
JsonLdModel show all
Defined in:
lib/openactive/models/concept_scheme.rb

Overview

This type is derived from [ConceptScheme](www.w3.org/2004/02/skos/core#ConceptScheme), 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

Methods included from Concerns::TypeChecker

#check_types, included

Methods included from Concerns::JsonLdSerializable

included, #to_h, #values

Constructor Details

This class inherits a constructor from OpenActive::BaseModel

Instance Attribute Details

#conceptArray<OpenActive::Models::Concept>

Returns:



22
23
24
# File 'lib/openactive/models/concept_scheme.rb', line 22

def concept
  @concept
end

#descriptionString

Returns:

  • (String)


17
18
19
# File 'lib/openactive/models/concept_scheme.rb', line 17

def description
  @description
end

#licenseURI

Returns:

  • (URI)


27
28
29
# File 'lib/openactive/models/concept_scheme.rb', line 27

def license
  @license
end

#titleString

Returns:

  • (String)


12
13
14
# File 'lib/openactive/models/concept_scheme.rb', line 12

def title
  @title
end

#typeString

Returns:

  • (String)


7
8
9
# File 'lib/openactive/models/concept_scheme.rb', line 7

def type
  "ConceptScheme"
end

#urlURI

Returns:

  • (URI)


32
33
34
# File 'lib/openactive/models/concept_scheme.rb', line 32

def url
  @url
end